diff --git a/.forgejo/workflows/deploy.yaml b/.forgejo/workflows/deploy.yaml index 436d1ca..c7dc57f 100644 --- a/.forgejo/workflows/deploy.yaml +++ b/.forgejo/workflows/deploy.yaml @@ -27,10 +27,17 @@ 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 \ No newline at end of file + !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 }}" }' \ No newline at end of file