diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 91dd8dc..e57e867 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,7 +31,8 @@ jobs: git config --global user.email "${{ secrets.GIT_USER_EMAIL }}" git config --global user.name "${{ secrets.GIT_USER_NAME }}" - name: 🚀 Deploy to GitHub Pages - if: github.ref == 'refs/heads/main' # Deploy only on push to main branch + if: github.ref == 'refs/heads/main' run: npm run deploy env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_ACTOR: ${{ github.actor }}