diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 6b18a00..dc308aa 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -31,6 +31,7 @@ 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' }} @@ -38,4 +39,5 @@ jobs: with: folder: dist branch: gh-pages + token: ${{ secrets.DEPLOY_TOKEN }} repository-name: typescript-tutorial-exercises/typescript-tutorial-exercises.github.io