Minor fixes
This commit is contained in:
parent
c8fba03f77
commit
cf2ea05cb4
@ -2,7 +2,7 @@
|
||||
chmod +x just_do_everything.py
|
||||
echo "### Creating venv is probably a good idea - let's make one..."
|
||||
python3 -m venv gitea_venv
|
||||
source gitea_venv/bin/activate
|
||||
source ./gitea_venv/bin/activate
|
||||
echo "### Now install hcloud module..."
|
||||
pip install -q hcloud
|
||||
echo "### And clear last deployment results..."
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/bin/pythonS
|
||||
#!/bin/python3
|
||||
from hcloud import Client, APIException
|
||||
from hcloud.images.domain import Image
|
||||
from hcloud.networks.domain import NetworkSubnet
|
||||
@ -229,7 +229,7 @@ def remove_gitea_server(client, server_name):
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
client = create_client("./token_file")
|
||||
client = create_client("../tokens/token_file")
|
||||
|
||||
action = sys.argv[-1]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user