Skip to content

Commit

Permalink
Test repo token
Browse files Browse the repository at this point in the history
Signed-off-by: Jay Wang <[email protected]>
  • Loading branch information
xiaohk committed Nov 27, 2023
1 parent 9370cca commit 2c6e205
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ jobs:

- name: Deploy with gh-pages
run: |
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/poloclub/supernova.git
npx gh-pages -u "github-actions-bot <[email protected]>" -m \"Deploy $(git log '--format=format:%H' main -1)\" -d ./gh-page"
if: ${{ github.ref == 'refs/heads/main' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 2c6e205

Please sign in to comment.