From 3fc635f867acb1b90a60811369ab1fd48fc70057 Mon Sep 17 00:00:00 2001 From: moritzruth Date: Fri, 28 Feb 2025 23:46:07 +0100 Subject: [PATCH] Update .forgejo/workflows/deploy.yaml --- .forgejo/workflows/deploy.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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