Skip to content

Commit 73c5ea8

Browse files
authored
Docs deploy workflow - Fixed GIT_USER and deploy script. (#3475)
* Fixed node-version in node setup * Added git user to the workflow * eof * fixed order of commands
1 parent 58fa4db commit 73c5ea8

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/deployDocs.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88
jobs:
99
build-and-deploy:
1010
runs-on: ubuntu-latest
11+
permissions:
12+
contents: write # Needed for pushing to gh-pages
1113

1214
steps:
1315
- name: Checkout repository
@@ -26,7 +28,13 @@ jobs:
2628
run: yarn docs:build
2729

2830
- name: Deploy documentation
31+
env:
32+
GIT_USER: github-actions[bot]
33+
GIT_PASS: ${{ secrets.GITHUB_TOKEN }}
34+
2935
run: |
36+
git config --global user.email "github-actions[bot]@users.noreply.github.com"
37+
git config --global user.name "github-actions[bot]"
3038
cd docuilib
3139
yarn install
3240
yarn deploy

0 commit comments

Comments
 (0)