Skip to content

Commit 24f0dc8

Browse files
committed
Update workflow for prerelease (test)
1 parent 1bbc320 commit 24f0dc8

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/prerelease.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Install Dependencies
1818
run: yarn
1919
- name: Initialize asterics-docs
20-
run: yarn docs init
20+
run: yarn docs init --no-reference
2121
- name: Setup docs
2222
run: yarn docs setup
2323
- name: Build
@@ -31,8 +31,10 @@ jobs:
3131
run: |
3232
rm -rf gh-pages/next
3333
cp -r dist gh-pages/next
34+
git config --global user.name "${{ github.actor }}"
35+
git config --global user.email "<>"
3436
git --git-dir=gh-pages/.git --work-tree=gh-pages/ add .
3537
git --git-dir=gh-pages/.git --work-tree=gh-pages/ status
3638
git --git-dir=gh-pages/.git --work-tree=gh-pages/ commit -m "docs: prerelease"
37-
git --git-dir=gh-pages/.git --work-tree=gh-pages/ log -1
39+
git --git-dir=gh-pages/.git --work-tree=gh-pages/ log -2
3840
git --git-dir=gh-pages/.git --work-tree=gh-pages/ push

0 commit comments

Comments
 (0)