Update .forgejo/workflows/deploy.yaml
This commit is contained in:
parent
6cf984df83
commit
3fc635f867
1 changed files with 8 additions and 1 deletions
|
@ -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 }}" }'
|
Loading…
Add table
Reference in a new issue