We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b387839 commit f1b69fcCopy full SHA for f1b69fc
.github/workflows/publish-docs.yml
@@ -26,9 +26,13 @@ jobs:
26
run: |
27
cd website
28
npm install
29
- git config --global user.name "${GITHUB_ACTOR}"
30
- echo "machine github.com login ${GITHUB_ACTOR} password ${{ secrets.GITHUB_TOKEN }}" > ~/.netrc
31
- GIT_USER="${GITHUB_ACTOR}" npm run publish-gh-pages
+ git config --global user.name "${GH_USERNAME}"
+ echo "machine github.com login ${GH_USERNAME} password ${{ secrets.EG_CI_USER_TOKEN }}" > ~/.netrc
+ GIT_USER="${GH_USERNAME}" npm run publish-gh-pages
32
env:
33
CI: true
34
CURRENT_BRANCH: master
35
+
36
+ # The following settings will only work with the personal access token we are using
37
+ # Until GH Actions have a way to publish directly we are using this method
38
+ GH_USERNAME: eg-oss-ci
0 commit comments