Skip to content

Commit

Permalink
fix(action): push.yaml set proper permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
sctop committed Apr 13, 2024
1 parent eff486c commit dcb9eda
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,23 @@ on:
repository_dispatch:
types: [ost-data-parser-push-direct]

# 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:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest

steps:
Expand Down

0 comments on commit dcb9eda

Please sign in to comment.