From fc5fd2303865cec0b8e7ea05856121f2ca8aab1a Mon Sep 17 00:00:00 2001 From: moritzruth Date: Sun, 2 Mar 2025 18:07:29 +0100 Subject: [PATCH] Read repository name from variable in deployment workflow --- .forgejo/workflows/deploy.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.forgejo/workflows/deploy.yaml b/.forgejo/workflows/deploy.yaml index 0ed1b41..ff7d165 100644 --- a/.forgejo/workflows/deploy.yaml +++ b/.forgejo/workflows/deploy.yaml @@ -42,4 +42,4 @@ jobs: --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" }' \ No newline at end of file + -d '{ "id": "${{ github.sha }}", "download_url": "https://git.moritzruth.de/${{ github.repository }}/actions/runs/${{ github.run_number }}/artifacts/site.zip" }' \ No newline at end of file