diff --git a/scripts/docs-deploy.sh b/scripts/docs-deploy.sh index c66951f1f..dcd6730c7 100755 --- a/scripts/docs-deploy.sh +++ b/scripts/docs-deploy.sh @@ -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 -