Compare commits
10 Commits
nick_20231
...
603875e68a
Author | SHA1 | Date | |
---|---|---|---|
603875e68a | |||
35827eb14c | |||
bcdd246efc | |||
b287e4a387 | |||
af6467d17b | |||
bf3eb82814 | |||
d4d72dbca2 | |||
e9a0a8b230 | |||
2b55af5182 | |||
5d034f3abd |
55
.drone.yml
55
.drone.yml
@ -1,18 +1,32 @@
|
|||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: deploy to quarto.washnote.org
|
name: deploy to washweb.org
|
||||||
steps:
|
steps:
|
||||||
|
- name: restore-cache
|
||||||
|
image: drillster/drone-volume-cache
|
||||||
|
settings:
|
||||||
|
restore: true
|
||||||
|
mount:
|
||||||
|
- /usr/local/lib/R/site-library
|
||||||
|
volumes:
|
||||||
|
- name: cache
|
||||||
|
path: /cache
|
||||||
|
- name: lib
|
||||||
|
path: /usr/local/lib/R/site-library
|
||||||
- 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
|
||||||
commands:
|
commands:
|
||||||
- 'echo "install.packages(\"rmarkdown\")" | r -'
|
- 'echo "install.packages(\"rmarkdown\")" | r -'
|
||||||
- quarto render
|
- quarto render
|
||||||
- name: deploy to running app instance
|
volumes:
|
||||||
|
- name: lib
|
||||||
|
path: /usr/local/lib/R/site-library
|
||||||
|
- name: deploy to washweb.org
|
||||||
image: git.coopcloud.tech/coop-cloud/docker-cp-deploy:latest
|
image: git.coopcloud.tech/coop-cloud/docker-cp-deploy:latest
|
||||||
settings:
|
settings:
|
||||||
host: washnote.org
|
host: washnote.org
|
||||||
port: 2222
|
port: 222
|
||||||
service: dev_washnote_org
|
service: washweb_org_app
|
||||||
source: .
|
source: .
|
||||||
dest: /usr/share/nginx/html/
|
dest: /usr/share/nginx/html/
|
||||||
chdir: _site
|
chdir: _site
|
||||||
@ -21,3 +35,36 @@ steps:
|
|||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
- main
|
- main
|
||||||
|
- name: deploy to dev.washweb.org
|
||||||
|
image: git.coopcloud.tech/coop-cloud/docker-cp-deploy:latest
|
||||||
|
settings:
|
||||||
|
host: washnote.org
|
||||||
|
port: 222
|
||||||
|
service: dev_washweb_org_app
|
||||||
|
source: .
|
||||||
|
dest: /usr/share/nginx/html/
|
||||||
|
chdir: _site
|
||||||
|
deploy_key:
|
||||||
|
from_secret: drone_ssh_washnote_org
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
- dev
|
||||||
|
- name: rebuild-cache
|
||||||
|
image: drillster/drone-volume-cache
|
||||||
|
settings:
|
||||||
|
rebuild: true
|
||||||
|
mount:
|
||||||
|
- /usr/local/lib/R/site-library
|
||||||
|
volumes:
|
||||||
|
- name: cache
|
||||||
|
path: /cache
|
||||||
|
- name: lib
|
||||||
|
path: /usr/local/lib/R/site-library
|
||||||
|
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
- name: cache
|
||||||
|
host:
|
||||||
|
path: /tmp/drone/cache
|
||||||
|
- name: lib
|
||||||
|
temp: {}
|
||||||
|
@ -6,6 +6,7 @@ website:
|
|||||||
site-url: https://washnote.org
|
site-url: https://washnote.org
|
||||||
description: WASH Web is a set of participatory initiatives to give you and everyone you know better access to water, sanitation and hygiene information.
|
description: WASH Web is a set of participatory initiatives to give you and everyone you know better access to water, sanitation and hygiene information.
|
||||||
navbar:
|
navbar:
|
||||||
|
logo: "images/WASHWEB-logotype-colour-1-RGB.png"
|
||||||
left:
|
left:
|
||||||
- href: index.qmd
|
- href: index.qmd
|
||||||
text: Home
|
text: Home
|
||||||
|
BIN
images/WASHWEB-logotype-colour-1-RGB.png
Normal file
BIN
images/WASHWEB-logotype-colour-1-RGB.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 20 KiB |
@ -4,4 +4,7 @@
|
|||||||
freeze: true
|
freeze: true
|
||||||
|
|
||||||
# enable banner style title blocks (see https://quarto.org/docs/authoring/title-blocks.html)
|
# enable banner style title blocks (see https://quarto.org/docs/authoring/title-blocks.html)
|
||||||
title-block-banner: true
|
title-block-banner: true
|
||||||
|
|
||||||
|
#
|
||||||
|
#
|
Reference in New Issue
Block a user