DPZC-Hetzner/gitea-deploy/deploy.sh
2022-12-31 13:17:17 +01:00

13 lines
497 B
Bash
Executable File

#!/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!"
python just_do_everything.py $1 --create