From b757782eccb025ca129f53bd4f7921d302913fbc Mon Sep 17 00:00:00 2001 From: Lars Bergqvist Date: Sat, 2 Nov 2024 21:12:51 +0100 Subject: [PATCH] Update buildanddeploy.yml --- .github/workflows/buildanddeploy.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/buildanddeploy.yml b/.github/workflows/buildanddeploy.yml index 678cf87..a1aca16 100644 --- a/.github/workflows/buildanddeploy.yml +++ b/.github/workflows/buildanddeploy.yml @@ -1,7 +1,7 @@ name: Test, Build and Deploy -on: - push: - branches: ['**'] +on: [push] +permissions: + contents: write jobs: test-and-build: runs-on: ubuntu-latest @@ -45,7 +45,7 @@ jobs: name: build-artifacts path: dist/sr-traffic - name: Deploy to gh-pages branch - uses: JamesIves/github-pages-deploy-action@v4.4.1 + uses: JamesIves/github-pages-deploy-action@v4.6.8 with: branch: gh-pages folder: dist/sr-traffic