diff options
author | EuAndreh <eu@euandre.org> | 2020-02-14 21:59:41 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2020-02-14 22:26:13 -0300 |
commit | 12ba59c888d8f730ead7b3fcebaf0e93cb35c1b3 (patch) | |
tree | 3ef348fcca5dc7d44d2b0c265144c4c1fd215eeb /.build.yml | |
parent | /home/andreh/dev/libre/dotfiles/scripts/ad-hoc/pastebin.sh: Auto-add _pastebi... (diff) | |
download | euandre.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.yml | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |