From e9a0a8b2306ea6035482f4860e2b744c4f761b9a Mon Sep 17 00:00:00 2001 From: 3wc <3wc.github@doesthisthing.work> Date: Fri, 17 Nov 2023 12:22:53 +0000 Subject: [PATCH] Fix up service name, add dev deployment --- .drone.yml | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 9c8d20f..d325c37 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,6 +1,6 @@ --- kind: pipeline -name: deploy to quarto.washnote.org +name: deploy to washweb.org steps: - name: build quarto site image: cynkra/quarto-r:1.4.169-4.3.1 @@ -12,7 +12,7 @@ steps: settings: host: washnote.org port: 2222 - service: dev_washnote_org + service: washweb_org source: . dest: /usr/share/nginx/html/ chdir: _site @@ -21,3 +21,26 @@ steps: when: branch: - main +--- +kind: pipeline +name: deploy to dev.washweb.org +steps: + - name: build quarto site + image: cynkra/quarto-r:1.4.169-4.3.1 + commands: + - 'echo "install.packages(\"rmarkdown\")" | r -' + - quarto render + - name: deploy to running app instance + image: git.coopcloud.tech/coop-cloud/docker-cp-deploy:latest + settings: + host: washnote.org + port: 2222 + service: dev_washweb_org + source: . + dest: /usr/share/nginx/html/ + chdir: _site + deploy_key: + from_secret: drone_ssh_washnote_org + when: + branch: + - dev