From efd3c50cacc30777bd24f829c93667f02385cbc6 Mon Sep 17 00:00:00 2001 From: Jagoda11 Date: Wed, 19 Jun 2024 15:40:20 +0200 Subject: [PATCH] chore: Update GitHub Pages deployment step in CI workflow --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 }}