fix continous deployment #13
1 changed files with 12 additions and 1 deletions
|
@ -1,9 +1,20 @@
|
|||
pipeline:
|
||||
build:
|
||||
build-stable:
|
||||
image: archlinux
|
||||
commands:
|
||||
- pacman -Syu --noconfirm hugo git
|
||||
- hugo --destination /woodpecker/build/ --minify --cleanDestinationDir
|
||||
when:
|
||||
branch: [ main ]
|
||||
|
||||
build-dev:
|
||||
image: archlinux
|
||||
commands:
|
||||
- pacman -Syu --noconfirm hugo git
|
||||
- hugo --destination /woodpecker/build/ --baseURL "https://dev.vrifox.cc/" --cleanDestinationDir
|
||||
when:
|
||||
branch:
|
||||
exclude: [ main ]
|
||||
|
||||
upload-stable:
|
||||
image: archlinux
|
||||
|
|
Loading…
Reference in a new issue