Spaces:
Runtime error
Runtime error
Download .github/workflows/webhooks.yml from dia-gov/AgentGPT-Web-GUI: direct link, hf CLI and curl.
- Browser
- Download file 563 Bytes
-
https://huggingface.co/spaces/dia-gov/AgentGPT-Web-GUI/resolve/main/.github/workflows/webhooks.yml
- Command line
-
hf download hf://spaces/dia-gov/AgentGPT-Web-GUI/.github/workflows/webhooks.yml
-
curl -L -o webhooks.yml https://huggingface.co/spaces/dia-gov/AgentGPT-Web-GUI/resolve/main/.github/workflows/webhooks.yml
563 Bytes
| name: Invoke Deployment Webhooks | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: [ "main" ] | |
| jobs: | |
| invoke: | |
| name: Invoke Webhooks | |
| runs-on: ubuntu-latest | |
| environment: production | |
| if: github.repository == 'reworkd/AgentGPT' | |
| steps: | |
| - name: Trigger Webhooks | |
| run: | | |
| curl -L \ | |
| -X POST \ | |
| -H "Accept: application/vnd.github+json" \ | |
| -H ${{ secrets.WEBHOOK_AUTHORIZATION }} \ | |
| -H "X-GitHub-Api-Version: 2022-11-28" \ | |
| -d '{"ref":"main"}' \ | |
| ${{ secrets.DEPLOYMENT_WEBHOOK_URL }} | |