jwk.pages.dev/.github/workflows/deploy.yml

17 lines
409 B
YAML
Raw Normal View History

2024-03-16 19:46:54 +09:00
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 }}