Compare commits

..

2 Commits

Author SHA1 Message Date
Joakim Repomaa
80ecfa6e0f trigger deployment from ci
All checks were successful
Build and Deploy / build (push) Successful in 1m40s
2026-02-19 16:36:00 +02:00
Joakim Repomaa
49a4d21d49 update statichost config 2026-02-19 16:35:22 +02:00
2 changed files with 7 additions and 8 deletions

View File

@@ -43,7 +43,7 @@ jobs:
path: build/ path: build/
retention-days: 7 retention-days: 7
#- name: Deploy to statichost.eu - name: Deploy to statichost.eu
# if: github.ref == 'refs/heads/main' if: github.ref == 'refs/heads/main'
# run: | run: |
# curl -XPOST https://builder.statichost.eu/repomaa-cv curl -XPOST https://builder.statichost.eu/repomaa-cv

View File

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