10 Commits

Author SHA1 Message Date
603875e68a testing logo addition to yaml
Some checks reported errors
continuous-integration/drone/push Build encountered an error
continuous-integration/drone Build is passing
2024-01-16 17:47:48 +00:00
3wc
35827eb14c Another attempt at caching 2023-11-17 14:32:33 +00:00
3wc
bcdd246efc Appease cacher.sh 2023-11-17 13:34:09 +00:00
3wc
b287e4a387 Tweak cache volume definition 2023-11-17 13:20:29 +00:00
3wc
af6467d17b Add caching to Drone, rejig live / dev 2023-11-17 13:18:29 +00:00
3wc
bf3eb82814 Fix up docker service names 2023-11-17 12:40:34 +00:00
3wc
d4d72dbca2 Fix SSH ports 2023-11-17 12:24:30 +00:00
3wc
e9a0a8b230 Fix up service name, add dev deployment 2023-11-17 12:22:53 +00:00
2b55af5182 Force website re-render from main 2023-11-17 12:13:18 +01:00
5d034f3abd Merge pull request #6 from WASHNote/nick_20231110
Nick 20231110
2023-11-14 10:34:23 +01:00
4 changed files with 56 additions and 5 deletions

View File

@ -1,18 +1,32 @@
---
kind: pipeline
name: deploy to quarto.washnote.org
name: deploy to washweb.org
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
image: cynkra/quarto-r:1.4.169-4.3.1
commands:
- 'echo "install.packages(\"rmarkdown\")" | r -'
- 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
settings:
host: washnote.org
port: 2222
service: dev_washnote_org
port: 222
service: washweb_org_app
source: .
dest: /usr/share/nginx/html/
chdir: _site
@ -21,3 +35,36 @@ steps:
when:
branch:
- 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: {}

View File

@ -6,6 +6,7 @@ website:
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.
navbar:
logo: "images/WASHWEB-logotype-colour-1-RGB.png"
left:
- href: index.qmd
text: Home

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

View File

@ -4,4 +4,7 @@
freeze: true
# enable banner style title blocks (see https://quarto.org/docs/authoring/title-blocks.html)
title-block-banner: true
title-block-banner: true
#
#