1
0
Fork 0

Merge remote-tracking branch 'origin/main'
All checks were successful
Deploy / build (push) Successful in 50s

This commit is contained in:
Moritz Ruth 2025-03-02 16:06:04 +01:00
commit 80b51cc18d
Signed by: moritzruth
GPG key ID: C9BBAB79405EE56D

View file

@ -27,10 +27,19 @@ 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"
if-no-files-found: "error" if-no-files-found: "error"
path: | path: |
./dist/**/* ./dist/**/*
!dist/.vite !dist/.vite
- name: "Notify the web server"
run: >
curl https://moritzruth.de/_sscdc/notify
--fail
-H "Content-Type: application/json"
-H "Authorization: Bearer ${{ secrets.SSCDC_SECRET }}"
-d '{ "id": "${{ github.sha }}", "download_url": "https://git.moritzruth.de/moritzruth/moritzruth.de/actions/runs/${{ github.run_number }}/artifacts/site.zip" }'