name: "Deploy" on: workflow_dispatch: push: branches: - main jobs: build: runs-on: "docker" steps: - name: "Checkout" uses: "https://code.forgejo.org/actions/checkout@v4" - name: "Upload" id: "upload" uses: "https://code.forgejo.org/forgejo/upload-artifact@v4" with: name: "site.zip" if-no-files-found: "error" path: ./src/ - name: "Notify the web server" run: > curl https://krbl.eu/_sscdc/notify --fail -H "Content-Type: application/json" -H "Authorization: Bearer ${{ secrets.SSCDC_SECRET }}" -d '{ "id": "${{ github.sha }}", "download_url": "https://git.moritzruth.de/${{ github.repository }}/actions/runs/${{ github.run_number }}/artifacts/site.zip" }'