diff options
| author | Bradley Taunt <git@btxx.org> | 2026-07-11 10:49:45 -0400 |
|---|---|---|
| committer | Bradley Taunt <git@btxx.org> | 2026-07-11 10:49:45 -0400 |
| commit | 75ccd9eda950cf571ae21346fb57fc4952594800 (patch) | |
| tree | 4547a510ee41e9bd3e73821632e9158d8fd5f694 /.builds_disabled/deploy.yml | |
| parent | f7adaf72c42a3fdc84c98d0e5ef7f12531d19fd5 (diff) | |
Disable original srht builds, submission page content tweaks
Diffstat (limited to '.builds_disabled/deploy.yml')
| -rw-r--r-- | .builds_disabled/deploy.yml | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/.builds_disabled/deploy.yml b/.builds_disabled/deploy.yml new file mode 100644 index 0000000..7f1769f --- /dev/null +++ b/.builds_disabled/deploy.yml @@ -0,0 +1,31 @@ +image: debian/stable +oauth: pages.sr.ht/PAGES:RW +packages: +- hut +- ruby-full +- ruby-dev +secrets: + - 232c738f-79b2-4296-bd8e-e9eff01bae60 +environment: + repo: 1mb-club + site: 1mb.club +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 +- 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 |
