add statichost config

This commit is contained in:
Joakim Repomaa
2026-02-17 02:50:16 +02:00
parent 08c5b801ee
commit e42223f100

11
statichost.yml Normal file
View File

@@ -0,0 +1,11 @@
image: alpine
command: |
apk add --no-cache curl jq unzip &&
curl -s -H "Authorization: token $GITHUB_TOKEN" \
"https://api.github.com/repos/repomaa/cv/actions/artifacts?per_page=1" | \
jq -r '.artifacts[0].archive_download_url' | \
xargs -I {} curl -s -L -H "Authorization: token $GITHUB_TOKEN" -o artifact.zip {} &&
unzip -o artifact.zip -d public
public: public
domains:
- joakim.repomaa.com