diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 1c5692e..1ddae37 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -7,6 +7,13 @@ on: jobs: deploy: + permissions: + contents: read + pages: write + id-token: write + environment: + name: github-pages + url: ${{steps.deployment.outputs.page_url}} runs-on: ubuntu-latest steps: - name: Checkout @@ -32,7 +39,7 @@ jobs: uses: actions/upload-pages-artifact@v2 with: # upload entire directory - path: './_site' + path: "./_site" - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v2