diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 3360c52..6d7d736 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 "${{ 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; + - 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;