Skip to content

Commit

Permalink
github/workflows: adding permissions write
Browse files Browse the repository at this point in the history
Necessary for publishing:
https://github.com/vega-2135/vega-2135.github.io/actions/runs/11720868809/job/32647115818

Signed-off-by: Carolina Romero Carrasco <mcarolinarc28@gmail.com>
  • Loading branch information
vega-2135 committed Nov 7, 2024
1 parent 3f9f022 commit 14df33f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
branches:
- main # Set a branch to deploy

permissions:
contents: write

jobs:
deploy:
runs-on: ubuntu-22.04
Expand All @@ -29,6 +32,7 @@ jobs:
# hash as a part of the cache key.
# https://github.com/actions/setup-node/blob/main/docs/advanced-usage.md#caching-packages-data
cache-dependency-path: '**/package-lock.json'

- run: npm ci

- name: Build
Expand Down

0 comments on commit 14df33f

Please sign in to comment.