aboutsummaryrefslogtreecommitdiff
path: root/.build.yml
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2020-02-14 21:59:41 -0300
committerEuAndreh <eu@euandre.org>2020-02-14 22:26:13 -0300
commit12ba59c888d8f730ead7b3fcebaf0e93cb35c1b3 (patch)
tree3ef348fcca5dc7d44d2b0c265144c4c1fd215eeb /.build.yml
parent/home/andreh/dev/libre/dotfiles/scripts/ad-hoc/pastebin.sh: Auto-add _pastebi... (diff)
downloadeuandre.org-12ba59c888d8f730ead7b3fcebaf0e93cb35c1b3.tar.gz
euandre.org-12ba59c888d8f730ead7b3fcebaf0e93cb35c1b3.tar.xz
.build.yml: Don't publish when not on master branch
Diffstat (limited to '')
-rw-r--r--.build.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.build.yml b/.build.yml
index 5e3c5bf..3dd1f1a 100644
--- a/.build.yml
+++ b/.build.yml
@@ -13,6 +13,11 @@ tasks:
- tests: |
cd website/
nix-build -A test
+ - check-branch: |
+ cd website/
+ if [[ "$(git rev-parse master)" != "$(git rev-parse HEAD)" ]]; then
+ complete-build;
+ fi
- docs: |
cd website/
nix-build -A publishScript