From a2ce856cfaec9f8aa1236bdc2a2bf5785d6c1eac Mon Sep 17 00:00:00 2001 From: kazuya kawaguchi Date: Sun, 4 Feb 2024 10:37:34 +0900 Subject: [PATCH] fix: docs deploy --- scripts/docs-deploy.sh | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) 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 -