Set correct permissions and concurrency

This commit is contained in:
2022-07-28 13:02:44 +08:00
committed by GitHub
parent 467fa2f24a
commit da131eed53

View File

@@ -14,6 +14,17 @@ on:
env:
CARGO_TERM_COLOR: always
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
# Allow one concurrent deployment
concurrency:
group: "pages"
cancel-in-progress: true
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"