Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
VitalyArt committed Feb 16, 2024
1 parent ddeea2f commit 44641f1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,4 @@ jobs:
uses: actions/checkout@v4
- name: Build
uses: actions/setup-node@v4
- run: npm ci
- run: npm run docs:build
- name: setup git config
run: |
# setup the username and email. I tend to use 'GitHub Actions Bot' with no email by default
git config user.name "GitHub Actions Bot"
git config user.email "<>"
- run: ./deploy-docs.sh
6 changes: 5 additions & 1 deletion deploy-docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
# abort on errors
set -e

# build
# build\
npm ci
npm run docs:build

# navigate into the build output directory
Expand All @@ -12,6 +13,9 @@ cd docs/.vuepress/dist
# if you are deploying to a custom domain
# echo 'www.example.com' > CNAME

git config --global user.name "GitHub Actions Bot"
git config --global user.email "<>"

git init
git add -A
git commit -m 'docs'
Expand Down

0 comments on commit 44641f1

Please sign in to comment.