Skip to content

deploy-pages.yml: Add permissions & concurrency #5

deploy-pages.yml: Add permissions & concurrency

deploy-pages.yml: Add permissions & concurrency #5

Workflow file for this run

name: Deploy Static Pages
on:
push:
branches: ["main"]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build-n-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Publish
uses: Kjuly/mkdocs-page-publisher@main
with:
config-files: |-
config/en/mkdocs.yml
config/zh-Hans/mkdocs.yml