Skip to content

Commit

Permalink
Merge pull request #7 from PenguinEmpire/damien-workflow-changes
Browse files Browse the repository at this point in the history
Modify deploy.yml to use GH Personal Authentication Token
  • Loading branch information
hirechrisf authored Nov 19, 2024
2 parents 24ee8a8 + 98903f3 commit 0bd3a66
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Deploy to GitHub Pages

on:
workflow_dispatch:
push:
branches:
- main
Expand Down Expand Up @@ -29,11 +30,11 @@ jobs:
uses: peaceiris/actions-gh-pages@v3
with:
# original file used GITHUB_TOKEN
# github_token: ${{ secrets.GITHUB_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}

# Changed above line to use SSH Private Key instead
# per https://github.com/peaceiris/actions-gh-pages#%EF%B8%8F-set-ssh-private-key-deploy_key
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
# deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}

# Build output to publish to the `gh-pages` branch:
publish_dir: ./build
Expand Down

0 comments on commit 0bd3a66

Please sign in to comment.