Skip to content

Commit

Permalink
Renamed GITHUB env var
Browse files Browse the repository at this point in the history
GitHub does not allow repository secrets to start with GITHUB, so I had to change the name to GH.
  • Loading branch information
ajmeese7 committed Jun 6, 2022
1 parent f9f1827 commit 1942509
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
CONTENTFUL_ACCESS_TOKEN=your_contentful_access_token_here
CONTENTFUL_SPACE_ID=your_contentful_space_id_here
GITHUB_ACCESS_TOKEN=ghp_your_access_token_here
GH_ACCESS_TOKEN=ghp_your_access_token_here
2 changes: 1 addition & 1 deletion .github/workflows/auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ jobs:
- uses: ahmadnassri/action-dependabot-auto-merge@v2
with:
target: minor
github-token: ${{ secrets.GITHUB_ACCESS_TOKEN }}
github-token: ${{ secrets.GH_ACCESS_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:

- uses: enriikke/gatsby-gh-pages-action@v2
with:
access-token: ${{ secrets.GITHUB_ACCESS_TOKEN }}
access-token: ${{ secrets.GH_ACCESS_TOKEN }}
deploy-branch: gh-pages
gatsby-args: --prefix-paths
CONTENTFUL_ACCESS_TOKEN: ${{secrets.CONTENTFUL_ACCESS_TOKEN}}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Dry run the deployment
uses: enriikke/gatsby-gh-pages-action@v2
with:
access-token: ${{ secrets.GITHUB_ACCESS_TOKEN }}
access-token: ${{ secrets.GH_ACCESS_TOKEN }}
deploy-branch: gh-pages
gatsby-args: --prefix-paths
skip-publish: true
Expand Down

0 comments on commit 1942509

Please sign in to comment.