Skip to content

Commit

Permalink
Update docs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
YobeZhou authored Sep 28, 2023
1 parent 184be5d commit f2ed06b
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,20 @@ jobs:
run: pnpm install --frozen-lockfile

- name: Build documentation site
run: pnpm docs:release
run: |
pnpm docs:release
git clone https://${{secrets.CODING_USERNAME}}:${{secrets.CODING_PASSWD}}@e.coding.net/weidongshan/vuepress-next-docs/renesas-docs.git --branch master --single-branch master --depth=1
echo "ls master" && ls master
cp -r docs/.vuepress/dist/* master
touch master/.nojekyll
cd master
git config --local user.email "[email protected]"
git config --local user.name "www.100ask.net"
git add .
git commit -m "Update documentation" -a || true
git push origin master
cd -
- name: Deploy to GitHub Pages
uses: crazy-max/[email protected]
Expand Down

0 comments on commit f2ed06b

Please sign in to comment.