Upload built blog to website

This commit is contained in:
Michael Zhang 2021-11-23 01:44:52 -06:00
parent 1838120b01
commit ad987cb3f6
Signed by: michael
GPG key ID: BDA47A31A3C8EE6B

View file

@ -2,9 +2,13 @@ image: archlinux
packages: packages:
- hugo - hugo
- rsync - rsync
secrets:
- 0b26b413-7901-41c3-a4e2-3c752228ffcb
sources: sources:
- https://git.sr.ht/~mzhang/blog - https://git.sr.ht/~mzhang/blog
tasks: tasks:
- build: | - build: |
cd blog cd blog
hugo hugo
- upload: |
scp -r public sourcehutBuilds@mzhang.io:/mnt/storage/svcdata/blog-public