From e8bbf43eabcabc623c63809ddad48b6b5c599631 Mon Sep 17 00:00:00 2001 From: Eder Soares Date: Thu, 1 Feb 2024 14:57:47 -0300 Subject: [PATCH] Update deploy.yml --- .github/workflows/deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 9bb52a8..3360c52 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -20,5 +20,5 @@ jobs: with: node-version: ${{ matrix.node-version }} cache: 'npm' - - run: git config --global user.name "${GH_NAME}" && git config --global user.email "${GH_EMAIL}" && echo "machine github.com login ${GH_NAME} password ${GH_TOKEN}" > ~/.netrc; - - run: cd website && yarn install && GIT_USER="${GH_NAME}" yarn run publish-gh-pages; + - run: git config --global user.name "${{ secrets.GH_NAME }}" && git config --global user.email "${{ secrets.GH_EMAIL }}" && echo "machine github.com login ${{ secrets.GH_NAME }} password ${{ secrets.GH_TOKEN }}" > ~/.netrc; + - run: cd website && yarn install && GIT_USER="${{ secrets.GH_NAME }}" yarn run publish-gh-pages;