update statichost config
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user