diff --git a/.github/workflows/generate-pdfs.yml b/.github/workflows/generate-pdfs.yml index 9b0fd240b6..7e3d677159 100644 --- a/.github/workflows/generate-pdfs.yml +++ b/.github/workflows/generate-pdfs.yml @@ -2,13 +2,24 @@ name: Mkdocs build PDFs on: - push: - branches: - - main schedule: - - cron: '0 12 1 * *' + - cron: '0 0 * * *' + + # Allows you to run this workflow manually from the Actions tab workflow_dispatch: +# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages +permissions: + contents: read + pages: write + id-token: write + +# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. +# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. +concurrency: + group: "pages" + cancel-in-progress: false + jobs: build_pdfs: runs-on: ubuntu-latest