diff options
| author | Bradley Taunt <git@btxx.org> | 2026-04-09 08:55:02 -0400 |
|---|---|---|
| committer | Bradley Taunt <git@btxx.org> | 2026-04-09 08:55:02 -0400 |
| commit | 15c1dabd55a664eff00349b34aab364a61a32a5d (patch) | |
| tree | 9ebd30a6a3f7fd1ae4ed8b05816c191f82cccaaa /.builds | |
| parent | 245e36d3231023e52a7a8a726684dea31dc39b13 (diff) | |
Include deploy config updates and siteconfig.json
Diffstat (limited to '.builds')
| -rw-r--r-- | .builds/deploy.yml | 42 |
1 files changed, 20 insertions, 22 deletions
diff --git a/.builds/deploy.yml b/.builds/deploy.yml index 3449788..c786baf 100644 --- a/.builds/deploy.yml +++ b/.builds/deploy.yml @@ -1,26 +1,24 @@ -image: alpine/edge -packages: - - hut - - ruby - - ruby-dev - - build-base - - jekyll +image: debian/stable oauth: pages.sr.ht/PAGES:RW +packages: +- hut +- ruby-full +- ruby-dev environment: + repo: 1mb-club site: 1mb.club -sources: - - https://git.sr.ht/~bt/1mb-club -submitter: - git.sr.ht: - enabled: true - allow-refs: - - refs/heads/deploy tasks: - - build: | - cd 1mb-club - bundle install - bundle exec jekyll build - - deploy: | - cd 1mb-club - tar -czf site.tar.gz -C _site . - hut pages publish -d $site site.tar.gz
\ No newline at end of file +- install-bundler: | + cd $repo + sudo gem install bundler +- jekyll-build: | + cd $repo + sudo bundle install + sudo bundle exec jekyll build +- package-site: | + cd $repo/_site + tar -cvzh . > ../site.tar.gz +- deploy: | + hut pages publish -d $site --site-config $repo/siteconfig.json $repo/site.tar.gz +- deploy-www: | + hut pages publish -d www.$site --site-config $repo/siteconfig.json $repo/site.tar.gz
\ No newline at end of file |
