deploy script polish

This commit is contained in:
Kuba 2022-12-30 17:12:47 +01:00
parent 9e3cae9feb
commit 875377caed
4 changed files with 11 additions and 2 deletions

4
.gitignore vendored
View File

@ -1 +1,5 @@
#token files
token* token*
#venv folders
*/*venv

0
gitea/a.py Normal file → Executable file
View File

View File

@ -1,3 +1,8 @@
#!/bin/bash #!/bin/bash
echo "Creating virtual enviroment ..."
python3 -m venv hetz_gitea_venv
echo "Installing dependencies ..."
pip install -q hcloud
echo "Initiating gitea cloud deploy ..." echo "Initiating gitea cloud deploy ..."
python3 a.py $(cat token_file.txt) $(find ~ -name *.pub | tail -n 1 | xargs cat) "478874" chmod +x a.py
python3 a.py $(cat ../token_file.txt) $(find ~ -name *.pub | tail -n 1 | xargs cat) "478874"

0
gitea/readme.md Normal file
View File