Dorian Zedler
8562d115ba
All checks were successful
continuous-integration/drone/push Build is passing
31 lines
No EOL
782 B
YAML
31 lines
No EOL
782 B
YAML
kind: pipeline
|
|
name: build and publish site
|
|
|
|
steps:
|
|
- name: build
|
|
image: klakegg/hugo:ext-alpine-ci
|
|
commands:
|
|
- hugo --minify
|
|
|
|
- name: publish
|
|
image: itsblue.dev/plugins/codeberg-pages-deploy
|
|
settings:
|
|
folder: public
|
|
ssh_key:
|
|
from_secret: gitea-ssh-key
|
|
|
|
# we need a separate branch for app.bluerock.dev
|
|
# otherwise, the google app url verification does not work
|
|
# see: https://developer.android.com/training/app-links/verify-site-associations#publish-json
|
|
- name: put app.bluerock.dev into domains
|
|
image: alpine
|
|
commands:
|
|
- echo "app.bluerock.dev" > public/.domains
|
|
|
|
- name: publish app branch
|
|
image: itsblue.dev/plugins/codeberg-pages-deploy
|
|
settings:
|
|
folder: public
|
|
git_branch: pages-app
|
|
ssh_key:
|
|
from_secret: gitea-ssh-key |