landingpage/.drone.yml

31 lines
782 B
YAML
Raw Normal View History

2022-08-06 20:25:26 +02:00
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
2022-08-06 21:46:56 +02:00
ssh_key:
from_secret: gitea-ssh-key
2022-08-06 21:48:01 +02:00
# 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
2022-08-06 21:46:56 +02:00
- name: put app.bluerock.dev into domains
image: alpine
commands:
- echo "app.bluerock.dev" > public/.domains
2022-08-06 21:48:01 +02:00
- name: publish app branch
2022-08-06 21:46:56 +02:00
image: itsblue.dev/plugins/codeberg-pages-deploy
settings:
folder: public
git_branch: pages-app
2022-08-06 20:25:26 +02:00
ssh_key:
from_secret: gitea-ssh-key