aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.builds/deploy.yml (renamed from .builds_disabled/deploy.yml)12
1 files changed, 5 insertions, 7 deletions
diff --git a/.builds_disabled/deploy.yml b/.builds/deploy.yml
index 7f1769f..bc978f3 100644
--- a/.builds_disabled/deploy.yml
+++ b/.builds/deploy.yml
@@ -1,27 +1,25 @@
-image: debian/stable
+image: alpine/edge
oauth: pages.sr.ht/PAGES:RW
packages:
- hut
- ruby-full
- ruby-dev
secrets:
- - 232c738f-79b2-4296-bd8e-e9eff01bae60
+ - 877617a4-009f-43a7-9b4c-25e921d2f61f
environment:
repo: 1mb-club
site: 1mb.club
+ BUNDLE_PATH: vendor/bundle
submitter:
git.sr.ht:
enabled: true
allow-refs:
- refs/heads/deploy
tasks:
-- install-bundler: |
- cd $repo
- sudo gem install bundler
- jekyll-build: |
cd $repo
- sudo bundle install
- sudo bundle exec jekyll build
+ bundle install
+ bundle exec jekyll build
- package-site: |
cd $repo/_site
tar -cvzh . > ../site.tar.gz