From bcdf597bd49a36ffbad782e2e3a9dbe750c8a154 Mon Sep 17 00:00:00 2001 From: Bradley Taunt Date: Mon, 15 Jul 2024 08:39:07 -0400 Subject: Move build conditional into main tasks --- .build.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.build.yml b/.build.yml index c7ead2a..60d57a4 100644 --- a/.build.yml +++ b/.build.yml @@ -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 -- cgit v1.2.3-54-g00ecf