diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 6be4210d9..277feb211 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -9,6 +9,10 @@ on: jobs: deploy: + # 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 name: Deploy to GitHub Pages runs-on: ubuntu-latest steps: @@ -28,7 +32,7 @@ jobs: - name: Deploy to GitHub Pages uses: peaceiris/actions-gh-pages@v3 with: - github_token: ${{ secrets.GH_TOKEN }} + github_token: ${{ secrets.GITHUB_TOKEN }} # Build output to publish to the `gh-pages` branch: publish_dir: ./build # The following lines assign commit authorship to the official @@ -36,5 +40,5 @@ jobs: # https://github.com/actions/checkout/issues/13#issuecomment-724415212 # The GH actions bot is used by default if you didn't specify the two fields. # You can swap them out with your own user credentials. - user_name: redkubesbot - user_email: redkubesbot@users.noreply.github.com + user_name: linode-gh-bot + user_email: linode-gh-bot@users.noreply.github.com