aboutsummaryrefslogtreecommitdiff
path: root/.builds/doc.yml
diff options
context:
space:
mode:
Diffstat (limited to '.builds/doc.yml')
-rw-r--r--.builds/doc.yml18
1 files changed, 3 insertions, 15 deletions
diff --git a/.builds/doc.yml b/.builds/doc.yml
index 316a156..177244c 100644
--- a/.builds/doc.yml
+++ b/.builds/doc.yml
@@ -17,19 +17,7 @@ tasks:
tar -C target/doc -cvz . > site.tar.gz
- upload: |
cd iced_dialog
- if [ "$BUILD_SUBMITTER" = "git.sr.ht" ]
- then
- if [ "$GIT_REF" != "refs/heads/master" ]
- then
- complete-build
- fi
- if [ "$(git remote get-url origin)" != "https://git.sr.ht/~pml68/iced_dialog" ]
- then
- complete-build
- fi
- fi
- if [ "$BUILD_REASON" = "patchset" ]
- then
- complete-build
- fi
+ [ "$BUILD_SUBMITTER" = "git.sr.ht" ] || complete-build
+ [ "$GIT_REF" = "refs/heads/master" ] || complete-build
+ [ "$(git remote get-url origin)" = "https://git.sr.ht/~pml68/iced_dialog" ] || complete-build
hut pages publish -d $site site.tar.gz