mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-10 00:12:09 +00:00
72b20bf6e0
ECT is more efficient than Zopfli given the same amount of time. It uses Zopfli under the hood. - Switch from binaries.tar.br to binaries.tar.gz - Bring in the statically-linked ect/brotli binaries from binaries.tar.gz
29 lines
646 B
YAML
29 lines
646 B
YAML
---
|
|
image: alpine/edge
|
|
packages:
|
|
- rsync
|
|
- git # for Hugo's gitInfo
|
|
- make
|
|
- jq
|
|
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
|
|
rsync -v deploy@seirdy.one:/home/deploy/binaries.tar.gz .
|
|
mkdir -p ~/bin
|
|
tar xzf binaries.tar.gz -oC ~/bin
|
|
cd seirdy.one
|
|
- build_deploy: |
|
|
cd seirdy.one
|
|
export PATH=~/bin:$PATH
|
|
make clean deploy
|
|
cp mentions.json ~/mentions.json
|
|
artifacts:
|
|
- mentions.json
|