diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index a26bc41..4aadc46 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -8,9 +8,11 @@ on: jobs: build-and-deploy: runs-on: ubuntu-latest + permissions: + contents: write steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Install and Build run: | @@ -18,7 +20,6 @@ jobs: npm run build - name: Deploy - uses: JamesIves/github-pages-deploy-action@4.1.5 + uses: JamesIves/github-pages-deploy-action@v4 with: - branch: gh-pages - folder: dist \ No newline at end of file + folder: dist