diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 6395d2c..7117def 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -21,6 +21,7 @@ concurrency: jobs: # Build job build: + name: build runs-on: ubuntu-latest permissions: contents: read @@ -43,6 +44,7 @@ jobs: # Deployment job deploy: + name: deploy if: github.event_name != 'pull_request' environment: name: github-pages @@ -51,8 +53,8 @@ jobs: needs: build # Allow the GITHUB_TOKEN to deploy to GitHub Pages permissions: - pages: write - id-token: write + pages: write # deploy the built site to GitHub Pages + id-token: write # OIDC authentication for the Pages deployment steps: - name: Deploy to GitHub Pages id: deployment