diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 4e664ce..5a9ef49 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -3,7 +3,7 @@ name: Deploy GitHub Pages on: push: branches: - - main # Change this if your default branch is not 'main' + - main # Change to your default branch if it's not "main" jobs: build-and-deploy: @@ -13,11 +13,6 @@ jobs: - name: Checkout code uses: actions/checkout@v3 - - name: Set up Node.js - uses: actions/setup-node@v3 - with: - node-version: 20 - - name: Install dependencies run: npm ci @@ -27,5 +22,5 @@ jobs: - name: Deploy to GitHub Pages uses: peaceiris/actions-gh-pages@v3 with: - github_token: ${{ secrets.GITHUB_TOKEN }} + personal_token: ${{ secrets.ACCESS_TOKEN }} # Use the PAT here publish_dir: ./dist