aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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