Skip to content

Commit fa832ee

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

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/prerelease.yml

Lines changed: 5 additions & 3 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
36-
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
38+
git --git-dir=gh-pages/.git --work-tree=gh-pages/ commit
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)