DPZC-Hetzner/gitea-deploy/deploy.sh

13 lines
497 B
Bash
Raw Normal View History

2022-12-28 21:36:57 +01:00
#!/bin/bash
chmod +x just_do_everything.py
python3 -m venv gitea_venv
source ./gitea_venv/bin/activate
pip install -q hcloud
echo "############################"
echo "Let's clean everything from last run..."
python just_do_everything.py --clean
echo "--------------------------------------------------------------------------"
echo " Success! I guess..."
echo "############################"
echo "Let's spawn some new machines!"
2022-12-31 13:17:17 +01:00
python just_do_everything.py $1 --create