~jzs/sketchground.site

ref: 0ea686ea8f30dfb2a4e410f556206b893d928e45 sketchground.site/.build.yml -rw-r--r-- 461 bytes
0ea686eaJens Zeilund Remove unused code 1 year, 30 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
image: archlinux
packages:
  - go
secrets:
  - fe828eb9-c0f8-468e-87dd-9b66e03c76c4
sources:
  - git@git.sr.ht:~jzs/sketchground.site
tasks:
  # Only deploy master branch
  - deploy: |
      cd sketchground.site
      if [ "$(git rev-parse master)" = "$(git rev-parse HEAD)" ]; then
        go generate
        scp -o StrictHostKeyChecking=no -r dist/* deployer@46.23.93.27:/var/www/htdocs/www.sketchground.dk
      else
        echo "Skipping deploy"
      fi