Update updater for server
This commit is contained in:
parent
ba25d3efc6
commit
d67bd0f8b9
@ -1,7 +0,0 @@
|
|||||||
sudo docker restart techtracker
|
|
||||||
cd ~/Documents/Web/Tech_Tracker_Web
|
|
||||||
git pull
|
|
||||||
#sudo docker exec techtracker wget -qO- https://get.pnpm.io/install.sh\
|
|
||||||
#| ENV="$HOME/.bashrc" SHELL="$(which bash)" bash -
|
|
||||||
sudo docker exec techtracker /home/node/.local/share/pnpm/pnpm build
|
|
||||||
sudo docker exec techtracker /home/node/.local/share/pnpm/pnpm start &
|
|
3
update/update_container.sh
Executable file
3
update/update_container.sh
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
wget -qO- https://get.pnpm.io/install.sh | ENV="$HOME/.bashrc" SHELL="$(which bash)" bash -
|
||||||
|
/home/node/.local/share/pnpm/pnpm build
|
||||||
|
/home/node/.local/share/pnpm/pnpm start &
|
4
update/update_host.sh
Executable file
4
update/update_host.sh
Executable file
@ -0,0 +1,4 @@
|
|||||||
|
sudo docker restart techtracker
|
||||||
|
cd ~/Documents/Web/Tech_Tracker_Web
|
||||||
|
git pull
|
||||||
|
sudo docker exec techtracker /home/node/app/update/update_container.sh
|
Loading…
Reference in New Issue
Block a user