diff options
| author | Bradley Taunt <git@btxx.org> | 2026-08-31 08:54:19 -0400 |
|---|---|---|
| committer | Bradley Taunt <git@btxx.org> | 2026-08-31 08:54:19 -0400 |
| commit | 51ecae98b49015c5a87632403ab377e62fb7d6bc (patch) | |
| tree | 14d571c95ad309b4b841ba2c4ca08861a00c7f33 /.builds/deploy.yml | |
| parent | a15d245dfebc4b578421eb1d4b67875d00785d92 (diff) | |
Add new hall of fame reference, include sourcehut deploy build config
Diffstat (limited to '.builds/deploy.yml')
| -rw-r--r-- | .builds/deploy.yml | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/.builds/deploy.yml b/.builds/deploy.yml index bc978f3..8e7eeb5 100644 --- a/.builds/deploy.yml +++ b/.builds/deploy.yml @@ -1,14 +1,15 @@ image: alpine/edge -oauth: pages.sr.ht/PAGES:RW packages: -- hut - ruby-full - ruby-dev +- rsync secrets: - - 877617a4-009f-43a7-9b4c-25e921d2f61f + - ed9e4efb-54f3-4e5a-8893-a6ac262df30d + - 5dd47c15-9600-452e-b9a7-77312af1800d environment: repo: 1mb-club - site: 1mb.club + dest: /home/public/1mb.club + server: ssh.nyc1.nearlyfreespeech.net BUNDLE_PATH: vendor/bundle submitter: git.sr.ht: @@ -16,14 +17,12 @@ submitter: allow-refs: - refs/heads/deploy tasks: -- jekyll-build: | +- ssh-setup: | + ssh-keyscan -H -4 $server >> ~/.ssh/known_hosts +- build: | cd $repo bundle install 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 + cd $repo + rsync -rltvz --delete _site/ nfsn:$dest/
\ No newline at end of file |
