deploy script polish
This commit is contained in:
parent
9e3cae9feb
commit
875377caed
4
.gitignore
vendored
4
.gitignore
vendored
@ -1 +1,5 @@
|
|||||||
|
#token files
|
||||||
token*
|
token*
|
||||||
|
|
||||||
|
#venv folders
|
||||||
|
*/*venv
|
0
gitea/a.py
Normal file → Executable file
0
gitea/a.py
Normal file → Executable 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
0
gitea/readme.md
Normal file
Loading…
Reference in New Issue
Block a user