automate deploy
This commit is contained in:
parent
f44fb5475b
commit
db292bb67c
8
load-balancer/deploy.sh
Executable file
8
load-balancer/deploy.sh
Executable file
@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
echo "Creating virtual enviroment ..."
|
||||
python3 -m venv hetz_gitea_venv
|
||||
echo "Installing dependencies ..."
|
||||
pip install -q hcloud
|
||||
echo "Initiating gitea cloud deploy ..."
|
||||
chmod +x a.py
|
||||
python3 a.py $(cat ../token_file.txt) $(find ~ -name *.pub | tail -n 1 | xargs cat) "478874"
|
Loading…
Reference in New Issue
Block a user