~hristoast/hristoast

ref: 5d4b13a0176fb3b86a45d7613d48fa1177ac39c1 hristoast/.build.yml -rw-r--r-- 1.1 KiB
5d4b13a0Hristos N. Triantafillou The missing link a month 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
33
34
35
image: debian/stable
environment:
  feedgen_version: 0.9.0
  soupault_sha: 7238d7485a578b71e25535100be4990cc8393bee2d538ada50763602b6eacc1a
  soupault_version: 1.13.0
packages:
  - highlight
  - make
  - python3-dateutil
  - python3-pip
  - rsync
  - wget
secrets:
 - 8551d48a-306d-4709-b580-ef5dfd8945ac
 - d6edee8f-4a70-4eec-a9d2-967ee5aecb0c
 - af635d10-5bbe-493f-a0c3-60c7e495f320
sources:
  - https://git.sr.ht/~hristoast/hristoast
tasks:
  - get-soupault: |
      wget https://files.baturin.org/software/soupault/$soupault_version/soupault-$soupault_version-linux-x86_64.tar.gz
      echo "$soupault_sha  soupault-$soupault_version-linux-x86_64.tar.gz" | sha256sum -c -
  - install-soupault: |
      tar xvf soupault-$soupault_version-linux-x86_64.tar.gz
      sudo mv -v ./soupault-$soupault_version-linux-x86_64/soupault /usr/bin/
  - pip-install-feedgen: |
      sudo pip3 install feedgen==$feedgen_version
  - build: |
      cd ./hristoast
      make prod-site
  - deploy: |
      cat > ~/.ssh/known_hosts <<EOF
      $(cat ~/.hristoast_known_hosts)
      EOF
      rsync --delete -aq -e "ssh -F $HOME/.hristoast_ssh_config" ./hristoast/build/ hristoast:~/html/