- rsync
- wget
sources:
- - https://git.sr.ht/~aminb/aminb.org
+ - https://git.sr.ht/~bandali/aminb.org
environment:
deploy: deploy@aminb.org
- hugo_version: "0.48"
+ hugo_version: "0.50"
secrets:
- - 12deb555-3219-4d9d-b4c7-ffeda86ef5fe
+ - 6da5fd68-0594-4fc6-abe0-efe01ffe4b56
tasks:
- setup: |
wget "https://github.com/gohugoio/hugo/releases/download/v${hugo_version}/hugo_extended_${hugo_version}_Linux-64bit.tar.gz"
- deploy: |
cd aminb.org
sshopts="-o StrictHostKeyChecking=no"
- rsync --rsh="ssh $sshopts" -rP public/ ${deploy}:/var/www/aminb/html/
+ rsync --rsh="ssh $sshopts" -rP public/ ${deploy}:/var/www/aminb.org/