diff options
| author | Polesznyák Márk <contact@pml68.dev> | 2025-09-29 09:38:32 +0200 |
|---|---|---|
| committer | Polesznyák Márk <contact@pml68.dev> | 2025-09-29 09:38:32 +0200 |
| commit | afc2cdf03f0c988057595d0828e24e1b84b09059 (patch) | |
| tree | b8e595c311bd308aa57dbbfb686405800fd8e24b | |
| parent | feat: add build manifests (diff) | |
| download | iced_dialog-afc2cdf03f0c988057595d0828e24e1b84b09059.tar.gz | |
ci(doc): refactor git master ref check for page upload
| -rw-r--r-- | .builds/doc.yml | 18 |
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 |
