~lord/krasovs.ky

ref: 4cf3dca02c3aae13edfc854089554130a5bc8543 krasovs.ky/.build.yml -rw-r--r-- 559 bytes
4cf3dca0Savely Krasovsky fix(telegram-web-apps): few fixes 5 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
image: alpine/latest
packages:
  - rsync
  - hugo
sources:
  - https://git.sr.ht/~lord/krasovs.ky
secrets:
  - f4b5c314-069d-4ba0-bf31-63067cfb0c78
triggers:
  - action: email
    condition: always
    to: Savely Krasovsky <savely@krasovs.ky>
environment:
  site: krasovs.ky
tasks:
  - build: |
      cd $site
      hugo --minify -d ../public
  - upload: |
      echo "StrictHostKeyChecking=no" >> ~/.ssh/config
      rsync -rP public/ deploy@krasovs.ky:/var/www/$site/
  - ipfs: |
      ssh deploy@krasovs.ky "ipfs add -Qr /var/www/$site | ipfs name publish"