~muirrum/devosmium.xyz

ref: site-redesign devosmium.xyz/.build.yml -rw-r--r-- 1.0 KiB
28be8746Owen Salter Remove webfonts 10 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
29
30
31
32
image: alpine/edge
packages:
  - go
  - hugo
  - rsync
sources:
  - https://git.sr.ht/~muirrum/devosmium.xyz
  - https://git.sr.ht/~sircmpwn/openring
environment:
  kronos: deploy@kronos.devosmium.xyz
  # linode_instance: root@
secrets:
  - a88c3ffc-9bb0-451e-bf59-ef6198da6754
  - 0467a7c3-16d9-491c-9874-807bce4f2616
tasks:
  - openring: |
      cd openring
      go build
  - build: |
      cd devosmium.xyz
      ../openring/openring \
        -s https://drewdevault.com/feed.xml \
        -s https://emersion.fr/blog/rss.xml \
        -s https://blog.rust-lang.org/feed.xml \
        -s https://blog.rogs.me/index.xml \
        < include/webring-in.html \
        > layouts/partials/webring-out.html
      hugo
  - deploy: |
      cd devosmium.xyz
      rsync --delete -avz --exclude ".well-known" -e "ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null" public/ $kronos:/var/www/devosmium.xyz
      # rsync --delete -avz -e "ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null" public/ $ec2_box:/var/www/tristan.partin.io