From 9b0d7258a70eea7b9657e6d97ab663efd45c8c79 Mon Sep 17 00:00:00 2001 From: Zilong Yao <59038614+ZLY201@users.noreply.github.com> Date: Mon, 30 Oct 2023 01:30:33 +0800 Subject: [PATCH] chore: add token for deploy (#19) --- .github/workflows/deploy.yml | 2 ++ 1 file changed, 2 insertions(+) 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