2021-08-30 18:54:57 +03:00
|
|
|
#!/usr/bin/env sh
|
|
|
|
|
|
|
|
# abort on errors
|
|
|
|
set -e
|
|
|
|
|
|
|
|
# build
|
|
|
|
npm run docs:build
|
|
|
|
|
|
|
|
# navigate into the build output directory
|
|
|
|
cd docs/.vuepress/dist
|
|
|
|
|
|
|
|
# if you are deploying to a custom domain
|
|
|
|
# echo 'www.example.com' > CNAME
|
|
|
|
|
|
|
|
git init
|
|
|
|
git add -A
|
2024-02-12 16:17:17 +02:00
|
|
|
git commit -m '[automated]: pushing regenerated documentation'
|
2021-08-30 18:54:57 +03:00
|
|
|
|
|
|
|
# if you are deploying to https://<USERNAME>.github.io
|
|
|
|
# git push -f git@github.com:boldak/<USERNAME>.github.io.git master
|
|
|
|
|
|
|
|
# if you are deploying to https://<USERNAME>.github.io/<REPO>
|
2024-06-06 18:47:14 +03:00
|
|
|
git push -f http://10.1.1.1:3000/EugenIO/edu-dis-labs master:gh-pages
|
2021-08-30 18:54:57 +03:00
|
|
|
|
|
|
|
cd -
|