Skip to content

Commit

Permalink
fix: build perms (#6)
Browse files Browse the repository at this point in the history
fix: perms
  • Loading branch information
alegemaate authored Dec 12, 2023
1 parent 6f2b7a2 commit 87bab1d
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ on:
push:
branches:
- main
workflow_dispatch:

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

jobs:
deploy:
Expand All @@ -24,6 +30,15 @@ jobs:
node-version: 20
cache: yarn

- name: Restore cache
uses: actions/cache@v3
with:
path: |
.next/cache
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/yarn.lock') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx') }}
restore-keys: |
${{ runner.os }}-nextjs-${{ hashFiles('**/yarn.lock') }}-
- run: yarn install

- run: yarn build
Expand Down

0 comments on commit 87bab1d

Please sign in to comment.