mirror of
https://github.com/Start9Labs/documentation.git
synced 2026-03-26 10:21:53 +00:00
changes for converting from website to docs site (#188)
* changes for converting from website to docs site * update staging deploy script and lock file * update docsearch
This commit is contained in:
@@ -7,7 +7,7 @@ cp -r ./docs/_build/dirhtml/. gh-pages
|
||||
# Create gh-pages branch
|
||||
cd gh-pages
|
||||
git init
|
||||
git config --local user.email "dev@start9labs.com"
|
||||
git config --local user.email "dev@start9.com"
|
||||
git config --local user.name "Start9 Dev"
|
||||
git remote add origin "https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git"
|
||||
git checkout -b gh-pages
|
||||
|
||||
@@ -13,9 +13,9 @@ echo "FILTER: make multiversion"
|
||||
make clean && make multiversion
|
||||
|
||||
echo "FILTER: rsync build"
|
||||
rsync -rzP --delete ./_build/dirhtml/ root@staging.start9labs.com:/var/www/html/staging.start9labs.com/dirhtml/
|
||||
rsync -rzP --delete ./_build/dirhtml/ root@staging.start9.com:/var/www/html/staging.start9labs.com/dirhtml/
|
||||
|
||||
echo "FILTER: ssh restart nginx and tor"
|
||||
ssh root@staging.start9labs.com "systemctl reload nginx && systemctl reload tor"
|
||||
ssh root@staging.start9.com "systemctl reload nginx && systemctl reload tor"
|
||||
|
||||
echo "FILTER: fin"
|
||||
|
||||
Reference in New Issue
Block a user