From 9c6f655bb360087175dffee31973983cd4a4faaf Mon Sep 17 00:00:00 2001 From: Dorian Zedler Date: Sat, 6 Aug 2022 21:45:30 +0200 Subject: [PATCH 1/3] Update 'static/.domains' --- static/.domains | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/static/.domains b/static/.domains index 7646804..d1f874d 100644 --- a/static/.domains +++ b/static/.domains @@ -1,3 +1,2 @@ l.bluerock.dev -bluerock.dev -app.bluerock.dev \ No newline at end of file +bluerock.dev \ No newline at end of file From c3234445950dc29044b030f4fb8c961b7f28ee07 Mon Sep 17 00:00:00 2001 From: Dorian Zedler Date: Sat, 6 Aug 2022 21:46:56 +0200 Subject: [PATCH 2/3] Update '.drone.yml' --- .drone.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.drone.yml b/.drone.yml index 41fde83..08c12db 100644 --- a/.drone.yml +++ b/.drone.yml @@ -11,5 +11,18 @@ steps: image: itsblue.dev/plugins/codeberg-pages-deploy settings: folder: public + ssh_key: + from_secret: gitea-ssh-key + +- name: put app.bluerock.dev into domains + image: alpine + commands: + - echo "app.bluerock.dev" > public/.domains + +- name: publish + image: itsblue.dev/plugins/codeberg-pages-deploy + settings: + folder: public + git_branch: pages-app ssh_key: from_secret: gitea-ssh-key \ No newline at end of file From 8562d115ba2044d34936f8577c3de47648f15e2d Mon Sep 17 00:00:00 2001 From: Dorian Zedler Date: Sat, 6 Aug 2022 21:48:01 +0200 Subject: [PATCH 3/3] Update '.drone.yml' --- .drone.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 08c12db..fc0cf69 100644 --- a/.drone.yml +++ b/.drone.yml @@ -14,12 +14,15 @@ steps: 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 +- name: publish app branch image: itsblue.dev/plugins/codeberg-pages-deploy settings: folder: public