commit bcdf597bd49a36ffbad782e2e3a9dbe750c8a154 from: Bradley Taunt date: Mon Jul 15 12:39:07 2024 UTC Move build conditional into main tasks commit - 2c3ff81fd12f588883fb3b290f8c881a241a0c52 commit + bcdf597bd49a36ffbad782e2e3a9dbe750c8a154 blob - c7ead2aa304538dc34d5398c900555a739fe816f blob + 60d57a443d9f5d3ed2d6ae4e680c9de47702691d --- .build.yml +++ .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