diff options
Diffstat (limited to '.build.yml')
-rw-r--r-- | .build.yml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/.build.yml b/.build.yml new file mode 100644 index 0000000..49874bd --- /dev/null +++ b/.build.yml @@ -0,0 +1,20 @@ +image: alpine/latest +packages: + - py3-pip + - rsync +sources: + - https://git.sr.ht/~boringcactus/arewe1.0yet +environment: + deploy: services@boringcactus.com +secrets: + - b5cb9b2b-1461-4486-95e1-886451674a89 +tasks: + - install: | + cd arewe1.0yet + python3 -m pip install -r requirements.txt + - build: | + cd arewe1.0yet + python3 update.py + - deploy: | + cd arewe1.0yet + rsync --rsh="ssh -o StrictHostKeyChecking=no" -rlt8hP --del out/ $deploy:/var/www/html/1.0.boringcactus.com/ |