diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 4747249..7b75564 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -26,11 +26,18 @@ jobs: path: ./build/html deploy: + needs: build + + # Grant GITHUB_TOKEN the permissions required to make a Pages deployment + permissions: + pages: write # to deploy to Pages + id-token: write # to verify the deployment originates from an appropriate source + environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest - needs: build steps: - name: Deploy to GitHub Pages id: deployment