aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBradley Taunt <bt@btxx.org>2024-07-15 08:39:07 -0400
committerBradley Taunt <bt@btxx.org>2024-07-15 08:39:07 -0400
commitbcdf597bd49a36ffbad782e2e3a9dbe750c8a154 (patch)
treebea1e7a2976591ce03356b3939a885c8a7266825
parent2c3ff81fd12f588883fb3b290f8c881a241a0c52 (diff)
Move build conditional into main tasks
-rw-r--r--.build.yml7
1 files 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