diff options
author | Bradley Taunt <bt@btxx.org> | 2024-07-15 08:39:07 -0400 |
---|---|---|
committer | Bradley Taunt <bt@btxx.org> | 2024-07-15 08:39:07 -0400 |
commit | bcdf597bd49a36ffbad782e2e3a9dbe750c8a154 (patch) | |
tree | bea1e7a2976591ce03356b3939a885c8a7266825 | |
parent | 2c3ff81fd12f588883fb3b290f8c881a241a0c52 (diff) |
Move build conditional into main tasks
-rw-r--r-- | .build.yml | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -1,10 +1,5 @@ image: alpine/latest oauth: pages.sr.ht/PAGES:RW -packages: -- go -- hut -- ruby-full -- ruby-dev environment: site: 1kb.club sources: @@ -12,6 +7,8 @@ sources: tasks: - build : | if [ "$SRHT_BRANCH" = "deploy" ]; then + echo "On deploy branch, proceeding with package installation and build..."; + apk add --no-cache go hut ruby-full ruby-dev sudo gem install bundler cd 1kb-club sudo bundle install |