blob: ffb8bbc0f0c5d00266d6e58948e945d8fcd3d998 (
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/arewe1.0yet.org/
|