Added CI pipeline
This commit is contained in:
parent
f1889c7d86
commit
8f964e7631
1 changed files with 14 additions and 0 deletions
14
.woodpecker/.deploy.yml
Normal file
14
.woodpecker/.deploy.yml
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
branches: main
|
||||||
|
|
||||||
|
labels:
|
||||||
|
hostname: "oscarblue"
|
||||||
|
|
||||||
|
pipeline:
|
||||||
|
deploy:
|
||||||
|
image: alpine:3.16.0
|
||||||
|
commands:
|
||||||
|
- apk add hugo rsync
|
||||||
|
- hugo
|
||||||
|
- rsync -rltvz --delete --omit-dir-times ./public/ /git-links/
|
||||||
|
volumes:
|
||||||
|
- /var/www/git-links:/git-links
|
Loading…
Reference in a new issue