File tree 3 files changed +10
-1
lines changed
3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -16,4 +16,8 @@ git config user.name "$GITHUB_NAME"
16
16
git config user.email " $GITHUB_EMAIL "
17
17
echo " machine github.com login $GITHUB_NAME password $GITHUB_TOKEN " > " $HOME /.netrc"
18
18
19
-
19
+ if [ " $GIT_SET_GLOBAL_USER " = " true" ]
20
+ then
21
+ git config --global user.name " $GITHUB_NAME "
22
+ git config --global user.email " $GITHUB_EMAIL "
23
+ fi
Original file line number Diff line number Diff line change 5
5
- main
6
6
paths :
7
7
- " packages/website/**"
8
+ - " .github/workflows/website-deployment.yml"
8
9
9
10
jobs :
10
11
deploy :
14
15
steps :
15
16
- name : Checkout
16
17
uses : actions/checkout@v4
18
+ with :
19
+ persist-credentials : " false"
17
20
- name : Setup project
18
21
uses : ./.github/actions/setup-project
19
22
- name : Install dependencies
26
29
GITHUB_TOKEN : ${{ secrets.GH_RELEASE_TOKEN }}
27
30
GITHUB_NAME : ${{ vars.GH_BOT_NAME }}
28
31
GITHUB_EMAIL : ${{ vars.GH_BOT_EMAIL }}
32
+ GIT_SET_GLOBAL_USER : true
29
33
- name : Deploy
30
34
env :
31
35
GIT_USER : ${{ vars.GH_BOT_NAME }}
Original file line number Diff line number Diff line change 2
2
3
3
Built using [ Docusaurus 2] ( https://v2.docusaurus.io/ ) .
4
4
5
+
5
6
## Development
6
7
7
8
### Installation
You can’t perform that action at this time.
0 commit comments