Skip to content

Commit

Permalink
Add permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
nntrn committed Feb 27, 2024
1 parent 90c63ee commit 6898920
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,26 @@ name: Build Docs

on:
push:
branches: ["main"]
workflow_dispatch:

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: "pages"
cancel-in-progress: false

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: ./scripts/build-data.sh --out _data --remote
- uses: actions/checkout@v4
- run: ./scripts/build-data.sh --remote
- uses: ruby/setup-ruby@v1
with:
ruby-version: "2.7.1"
bundler-cache: true
- run: bundle exec jekyll build
- run: bundle exec jekyll build -d docs -s .

0 comments on commit 6898920

Please sign in to comment.