fix continous deployment #13

Merged
vrifox merged 6 commits from fix-cd into main 2023-04-05 23:53:25 +02:00
Showing only changes of commit 06bc9d14c9 - Show all commits

View file

@ -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