~wuz/wuz.sh

wuz.sh/.build.yml -rw-r--r-- 797 bytes
5e431ea9 — wuz Add more built 2 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
24
25
26
27
28
image: ubuntu/lts
packages:
  - nodejs
  - npm
  - rsync
  - yarn
environment:
  deploy: wuz_wuzsh@ssh.phx.nearlyfreespeech.net
repositories:
  yarn: https://dl.yarnpkg.com/debian/ stable main 1646B01B86E50310
sources:
  - https://git.sr.ht/~wuz/wuz.sh
secrets:
  -  68af864e-83db-49e9-881f-41a9276cff94
tasks:
  - setup: |
      cd wuz.sh
      yarn  
  - build: |
      cd wuz.sh
      yarn build
  - deploy: |
      cd wuz.sh
      eval $(ssh-agent)
      ssh-add $HOME/.ssh/68af864e-83db-49e9-881f-41a9276cff94
      rsync -e="ssh -i \"$HOME/.ssh/68af864e-83db-49e9-881f-41a9276cff94\" -o StrictHostKeyChecking=no" -azrP _site/* $deploy:/home/public
      rsync -e="ssh -i \"$HOME/.ssh/68af864e-83db-49e9-881f-41a9276cff94\" -o StrictHostKeyChecking=no" -azrP _site/.??* $deploy:/home/public