diff --git a/.github/workflows/build_docs.yml b/.github/workflows/build_docs.yml index 5e4b899..e8150cf 100644 --- a/.github/workflows/build_docs.yml +++ b/.github/workflows/build_docs.yml @@ -45,6 +45,3 @@ jobs: steps: - name: Deploy to GitHub Pages uses: actions/deploy-pages@v4 - - - name: Trigger Cloudflare Deploy Hook - run: curl -X POST "${{ secrets.CLOUDFLARE_DEPLOY_HOOK }}" diff --git a/.github/workflows/cf-deploy.yml b/.github/workflows/cf-deploy.yml new file mode 100644 index 0000000..7ddec3c --- /dev/null +++ b/.github/workflows/cf-deploy.yml @@ -0,0 +1,16 @@ +name: Publish + +on: + schedule: + - cron: "0 * * * *" # every hour + workflow_dispatch: + +# https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/controlling-permissions-for-github_token +permissions: { } + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - name: Trigger Cloudflare Deploy Hook + run: curl -X POST "${{ secrets.CLOUDFLARE_DEPLOY_HOOK }}"