[CD] specific dev build step
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
5981933e13
commit
06bc9d14c9
1 changed files with 12 additions and 1 deletions
|
@ -1,9 +1,20 @@
|
||||||
pipeline:
|
pipeline:
|
||||||
build:
|
build-stable:
|
||||||
image: archlinux
|
image: archlinux
|
||||||
commands:
|
commands:
|
||||||
- pacman -Syu --noconfirm hugo git
|
- pacman -Syu --noconfirm hugo git
|
||||||
- hugo --destination /woodpecker/build/ --minify --cleanDestinationDir
|
- 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:
|
upload-stable:
|
||||||
image: archlinux
|
image: archlinux
|
||||||
|
|
Loading…
Reference in a new issue