Hetzner/load-balancer/deploy.sh

8 lines
296 B
Bash
Raw Normal View History

2023-01-30 22:47:35 +01:00
#!/bin/bash
echo "Creating virtual enviroment ..."
python3 -m venv hetz_gitea_venv
echo "Installing dependencies ..."
pip install -q hcloud
2023-01-31 12:28:44 +01:00
echo "Initiating load balancer cloud deploy ..."
2023-01-30 22:47:35 +01:00
chmod +x a.py
python3 a.py $(cat ../token_file.txt) $(find ~ -name *.pub | tail -n 1 | xargs cat) "478874"