mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-12-17 22:32:10 +00:00
8d7b5c0baa
- Allow long CC durations in webhint - WH warns when load time is within a whole second of the target load-time, so bump it up a little. - Add a comment to the build manifest
29 lines
849 B
YAML
29 lines
849 B
YAML
---
|
|
# we rsync binaries.tar.gz from the same server we deploy to.
|
|
# it contains these static-pie binaries:
|
|
# hugo, brotli, ect (like gzip/zopfli), sd, htmlq (like jq for html), and xmllint.
|
|
image: alpine/edge
|
|
packages:
|
|
- curl # for webring update script
|
|
- rsync
|
|
- git # for Hugo's gitInfo
|
|
- bmake
|
|
sources:
|
|
- https://git.sr.ht/~seirdy/seirdy.one
|
|
secrets:
|
|
- cc1eb90c-b07b-4c46-86d4-58fec41cf0e4
|
|
triggers:
|
|
- action: email
|
|
condition: always
|
|
to: seirdy@seirdy.one
|
|
tasks:
|
|
- deps: |
|
|
echo "StrictHostKeyChecking=no" >> ~/.ssh/config
|
|
# mirrored at https://seirdy.one/misc/binaries.tar.gz
|
|
rsync -Wv deploy@seirdy.one:/home/deploy/binaries.tar.gz .
|
|
mkdir -p ~/bin
|
|
tar xzf binaries.tar.gz -oC ~/bin
|
|
- build_deploy: |
|
|
cd seirdy.one
|
|
export PATH=~/bin:$PATH
|
|
bmake deploy-prod deploy-onion
|