Skip to content

Commit 5588780

Browse files
committed
Merge branch 'main' of github.com:devforth/adminforth
2 parents 8402403 + 662f87f commit 5588780

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/deploy_documentation.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,16 @@ jobs:
2828
cache: 'pnpm'
2929
cache-dependency-path: adminforth/pnpm-lock.yaml
3030

31+
- name: Configure Git
32+
run: |
33+
git config --global user.name "${{ github.actor }}"
34+
git config --global user.email "${{ github.actor }}@users.noreply.github.com"
35+
3136
- name: Install dependencies
3237
run: |
3338
pnpm i
3439
cd documentation
3540
npm ci
3641
3742
- name: Build and deploy docs
38-
run: pnpm rollout-doc
43+
run: GIT_USER=${{ github.actor }} GIT_PASS=${{ secrets.DOCUSAURUS_DEPLOY_KEY }} pnpm rollout-doc

0 commit comments

Comments
 (0)