Upload built blog to website
This commit is contained in:
parent
1838120b01
commit
ad987cb3f6
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue