~hristoast/hristoast

ref: 6c6b610011fd9b58d5c2baf47345899ba5ef360d hristoast/.build.yml -rw-r--r-- 1.1 KiB
6c6b6100Hristos N. Triantafillou Proofreading edits 3 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
33
34
35
image: archlinux
environment:
  pystache_version: 0.5.4
  soupault_sha: 513039efaacb87ed4bdfd414ed5bbf348e40d370c2492bf3559785ea04b9708a
  soupault_version: 2.3.0
packages:
  - highlight
  - make
  - python-dateutil
  - python-pip
  - rsync
  - wget
secrets:
 - 874934f6-f572-4c79-ba39-15dbe3116e82
 - d6edee8f-4a70-4eec-a9d2-967ee5aecb0c
 - c960b499-d815-42c1-b392-22d1d14b4fd1
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 pystache==$pystache_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/