diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 53edadb3..321e50db 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -19,6 +19,10 @@ jobs: 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 }} + steps: - name: Checkout the repository to generate the site uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6 @@ -40,5 +44,6 @@ jobs: path: public - name: Deploy + id: deployment if: (github.ref == 'refs/heads/main' && matrix.platform == 'ubuntu-24.04') uses: actions/deploy-pages@cd2ce8fcbc39b97be8ca5fce6e763baed58fa128 # v4