From 452fcfae7e0491374fd6a36fca133d2aa4b8704c Mon Sep 17 00:00:00 2001 From: Albert Lombarte Date: Fri, 28 Jun 2024 12:50:23 +0200 Subject: [PATCH] Add permissions to GH action --- .github/workflows/deploy.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 1310b70..1fa4872 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -3,6 +3,8 @@ on: push: branches: - master +permissions: + contents: write jobs: build-and-deploy: runs-on: ubuntu-latest @@ -18,7 +20,7 @@ jobs: - run: npm run-script build - name: Deploy 🚀 - uses: JamesIves/github-pages-deploy-action@4.1.5 + uses: JamesIves/github-pages-deploy-action@v4 with: branch: gh-pages # The branch the action should deploy to. folder: designer # The folder the action should deploy. \ No newline at end of file