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