1
0
Fork 0

Update .forgejo/workflows/deploy.yaml

This commit is contained in:
Moritz Ruth 2025-02-28 23:46:07 +01:00 committed by git.moritzruth.de
parent 6cf984df83
commit 3fc635f867
Signed by: git.moritzruth.de
GPG key ID: AF72C6EBB4B578A7

View file

@ -27,6 +27,7 @@ jobs:
run: "pnpm build" run: "pnpm build"
- name: "Upload" - name: "Upload"
id: "upload"
uses: "https://code.forgejo.org/forgejo/upload-artifact@v4" uses: "https://code.forgejo.org/forgejo/upload-artifact@v4"
with: with:
name: "site.zip" name: "site.zip"
@ -34,3 +35,9 @@ jobs:
path: | path: |
./dist/**/* ./dist/**/*
!dist/.vite !dist/.vite
- name: "Notify the web server"
run: curl https://moritzruth.de/_sscdc/notify
-H "Content-Type: application/json"
-H "Authorization: Bearer ${{ secrets.SSCDC_SECRET }}"
-d '{ "id": "${{ github.sha }}", "download_url": "${{ steps.upload.outputs.artifact-url }}" }'