Skip to content

Commit

Permalink
chore: add token for deploy (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZLY201 authored Oct 29, 2023
1 parent d6241f8 commit 9b0d725
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,13 @@ jobs:
with:
folder: dist
branch: gh-pages
token: ${{ secrets.DEPLOY_TOKEN }}
repository-name: typescript-tutorial-exercises/preview
- name: Deploy to github pages
if: ${{ github.ref == 'refs/heads/main' }}
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: dist
branch: gh-pages
token: ${{ secrets.DEPLOY_TOKEN }}
repository-name: typescript-tutorial-exercises/typescript-tutorial-exercises.github.io

0 comments on commit 9b0d725

Please sign in to comment.