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;