Merge remote-tracking branch 'origin/main'
All checks were successful
Deploy / build (push) Successful in 50s
All checks were successful
Deploy / build (push) Successful in 50s
This commit is contained in:
commit
80b51cc18d
1 changed files with 10 additions and 1 deletions
|
@ -27,10 +27,19 @@ jobs:
|
|||
run: "pnpm build"
|
||||
|
||||
- name: "Upload"
|
||||
id: "upload"
|
||||
uses: "https://code.forgejo.org/forgejo/upload-artifact@v4"
|
||||
with:
|
||||
name: "site.zip"
|
||||
if-no-files-found: "error"
|
||||
path: |
|
||||
./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" }'
|
Loading…
Add table
Reference in a new issue