Skip to content

Commit

Permalink
Update to zip due to errors
Browse files Browse the repository at this point in the history
  • Loading branch information
larslemos committed May 15, 2023
1 parent e23d66e commit 0d71587
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/deploy_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ git clone --branch dev https://github.com/UCSF-IGHS/ohri-docs.git

# Navigate into the cloned directory
echo "--- Navigate into the cloned directory ---"
chown -R
cd ohri-docs
ls -la -t

Expand All @@ -29,9 +30,13 @@ ls -la -t
# scp -r ./build user@server:/usr/share/tomcat/microfrontends/ohri-docs
# scp -P 3220 -r .next [email protected]:/usr/share/tomcat/microfrontends/ohri_docs

echo "--- Copy Hiddne folder .next to build folder to allow transfer to another server ---"
echo "--- Copy Hidden folder .next to build folder to allow transfer to another server ---"
zip -r next_deploy.zip .next/
cp -R .next/* build

ls -la -t

scp -P 3220 -r build [email protected]:/usr/share/tomcat/microfrontends/ohri_docs
scp -P 3220 -r next_deploy.zip [email protected]:/usr/share/tomcat/microfrontends/ohri_docs

# scp -P 3220 -i /usr/local/ohridocs/.ssh/id_rsa -r .next [email protected]:/usr/share/tomcat/microfrontends/ohri_docs

0 comments on commit 0d71587

Please sign in to comment.