name: deploy on: workflow_dispatch: push: branches: main jobs: deploy: if: github.ref == 'refs/heads/main' runs-on: ubuntu-latest timeout-minutes: 1 steps: - name: Deploy run: curl -sSf -X POST "${DEPLOY_WEBHOOK_URL}" env: # https://developers.cloudflare.com/pages/platform/deploy-hooks DEPLOY_WEBHOOK_URL: ${{ secrets.DEPLOY_WEBHOOK_URL }}