Skip to content

Commit 3e487a0

Browse files
authored
Update docs.yml
1 parent d8a4688 commit 3e487a0

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

.github/workflows/docs.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,20 @@ jobs:
3434
run: pnpm install --frozen-lockfile
3535

3636
- name: Build documentation site
37-
run: pnpm docs:release
37+
run: |
38+
pnpm docs:release
39+
git clone https://${{secrets.CODING_USERNAME}}:${{secrets.CODING_PASSWD}}@e.coding.net/weidongshan/vuepress-next-docs/Allwinner-Docs.git --branch master --single-branch master --depth=1
40+
echo "ls master" && ls master
41+
cp -r docs/.vuepress/dist/* master
42+
touch master/.nojekyll
43+
cd master
44+
45+
git config --local user.email "baiwenwang@100ask.com"
46+
git config --local user.name "www.100ask.net"
47+
git add .
48+
git commit -m "Update documentation" -a || true
49+
git push origin master
50+
cd -
3851
3952
- name: Deploy to GitHub Pages
4053
uses: crazy-max/ghaction-github-pages@v2.2.0

0 commit comments

Comments
 (0)