Skip to content

Commit

Permalink
fix: docs deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
kazupon committed Feb 4, 2024
1 parent 22d2089 commit a2ce856
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions scripts/docs-deploy.sh
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
#!/usr/bin/env sh
#!/usr/bin/env sh

# abort on errors
set -e
# abort on errors
set -e

# build
npm run docs:build
# build
NODE_OPTIONS=--openssl-legacy-provider npm run docs:build

# navigate into the build output directory
# navigate into the build output directory
cd docs

# if you are deploying to a custom domain
# echo 'www.example.com' > CNAME
# if you are deploying to a custom domain
# echo 'www.example.com' > CNAME

git init
git add -A
git commit -m 'deploy'

git push -f git@github.com:kazupon/vue-i18n.git master:gh-pages
git init
git add -A
git commit -m 'deploy'

cd -
git push -f git@github.com:kazupon/vue-i18n.git master:gh-pages

cd -

0 comments on commit a2ce856

Please sign in to comment.