-
-
Notifications
You must be signed in to change notification settings - Fork 861
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
14 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 - |