~hristoast/hristoast

ref: 49893c9af5470d894990de5bd58734de8c714061 hristoast/.build.yml -rw-r--r-- 1002 bytes
49893c9aHristos N. Triantafillou Filter out pages without a title as well as a date 2 years 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: debian/stable
environment:
  soupault_version: 1.5
packages:
  - python3-pystache
  - 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 "4df860c40918bad78d77541d528bf75c5886d0b90e4d31bf7378cb4aad531c4f  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/
  - build: |
      cd ./hristoast
      soupault --verbose
  - 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/