blob: 49874bd6e873112c556cf6b5a58e48116d18a677 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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/
|