~reesmichael1/chantpointer

ref: 4478fb74af5f9e497f90208e9f7d981dc1a9cfff chantpointer/.build.yml -rw-r--r-- 658 bytes
4478fb74Michael Rees Rename Soubasse to LiturgiCal 3 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
image: archlinux
packages:
    - go
    - rsync
sources:
    - https://git.sr.ht/~reesmichael1/chantpointer
environment:
    deploy: chantpointer@142.93.10.195
secrets:
    - 5c21e93c-6d8e-410a-9ae4-35dcc51acd8c
    - fadfa027-e02e-46d2-bf1a-3547dfe92ccc
tasks:
    - test: |
        cd chantpointer
        go test
    - build: |
        cd chantpointer
        go build -o bin/server
    - deploy: |
        cd chantpointer
        rsync -r bin $deploy:/home/chantpointer/deploy
        rsync -r static $deploy:/home/chantpointer/deploy
        rsync -r templates $deploy:/home/chantpointer/deploy
        ssh $deploy "sudo systemctl restart chantpointer"