~hristoast/hristoast

ref: e889a81072a5918ad692459572b1f91382b8fe84 hristoast/.build.yml -rw-r--r-- 1002 bytes
e889a810Hristos N. Triantafillou No stream controls when it's off 1 year, 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
image: debian/stable
environment:
  soupault_version: 1.6
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 "ebdddda427c2419e1b1a8fc5ef2687a4b7b3eac1a45eb5a670793e86dec2bd1d  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/