Fix up service name, add dev deployment
This commit is contained in:
parent
2b55af5182
commit
e9a0a8b230
27
.drone.yml
27
.drone.yml
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: deploy to quarto.washnote.org
|
name: deploy to washweb.org
|
||||||
steps:
|
steps:
|
||||||
- name: build quarto site
|
- name: build quarto site
|
||||||
image: cynkra/quarto-r:1.4.169-4.3.1
|
image: cynkra/quarto-r:1.4.169-4.3.1
|
||||||
@ -12,7 +12,7 @@ steps:
|
|||||||
settings:
|
settings:
|
||||||
host: washnote.org
|
host: washnote.org
|
||||||
port: 2222
|
port: 2222
|
||||||
service: dev_washnote_org
|
service: washweb_org
|
||||||
source: .
|
source: .
|
||||||
dest: /usr/share/nginx/html/
|
dest: /usr/share/nginx/html/
|
||||||
chdir: _site
|
chdir: _site
|
||||||
@ -21,3 +21,26 @@ steps:
|
|||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
- main
|
- 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
|
||||||
|
Loading…
Reference in New Issue
Block a user