| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| name: Deploy | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - prod | |
| tags: | |
| - 'v*' | |
| jobs: | |
| deployment: | |
| runs-on: ubuntu-latest | |
| environment: ${{ startsWith(github.ref, 'refs/tags/') && 'prod' || github.ref_name }} | |
| steps: | |
| - name: Trigger deploy | |
| run: | | |
| curl --fail-with-body --silent --show-error -X POST ${{ secrets.HOOKURL }} \ | |
| -H "X-Key: ${{ secrets.HOOKSECRET }}" \ | |
| -H "Content-Type: application/x-www-form-urlencoded" \ | |
| -d "commit=${{ github.sha }}" |
| Back | FazBrowse Home | New Git URL |