This commit is contained in:
parent
6a4c130d5d
commit
b3320ec492
41
.drone.yml
41
.drone.yml
@ -10,29 +10,34 @@ trigger:
|
|||||||
image_pull_secrets:
|
image_pull_secrets:
|
||||||
- DOCKER_AUTH
|
- DOCKER_AUTH
|
||||||
|
|
||||||
services:
|
# services:
|
||||||
- name: docker
|
# - name: docker
|
||||||
# https://hub.docker.com/r/library/docker
|
# # https://hub.docker.com/r/library/docker
|
||||||
image: hub.docker.struchkov.dev/docker:27.1.2-dind-alpine3.20
|
# image: hub.docker.struchkov.dev/docker:27.1.2-dind-alpine3.20
|
||||||
privileged: true
|
# privileged: true
|
||||||
volumes:
|
# volumes:
|
||||||
- name: dockersock
|
# - name: dockersock
|
||||||
path: /var/run
|
# path: /var/run
|
||||||
|
|
||||||
volumes:
|
# volumes:
|
||||||
- name: dockersock
|
# - name: dockersock
|
||||||
temp: {}
|
# temp: {}
|
||||||
|
|
||||||
|
workspace:
|
||||||
|
path: /drone/src
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build site
|
- name: build site
|
||||||
# https://hub.docker.com/r/library/docker
|
# https://hub.docker.com/r/library/docker
|
||||||
image: hub.docker.struchkov.dev/docker:27.1.2-dind-alpine3.20
|
image: docker.struchkov.dev/quartz:latest
|
||||||
volumes:
|
# volumes:
|
||||||
- name: dockersock
|
# - name: dockersock
|
||||||
path: /var/run
|
# path: /var/run
|
||||||
commands:
|
commands:
|
||||||
- sleep 15
|
# - sleep 15
|
||||||
- docker run -v ./.quartz/quartz.config.ts:/usr/src/app/quartz.config.ts -v .:/usr/src/app/content -v ./public:/usr/src/app/public docker.struchkov.dev/quartz:latest build
|
- cp .quartz/quartz.config.ts .
|
||||||
|
- cp .quartz/quartz.layout.ts .
|
||||||
|
- npx quartz build
|
||||||
- name: publish to server
|
- name: publish to server
|
||||||
image: private.docker.struchkov.dev/mkdocs:latest
|
image: private.docker.struchkov.dev/mkdocs:latest
|
||||||
environment:
|
environment:
|
||||||
@ -60,6 +65,6 @@ steps:
|
|||||||
# drone sign --save upagge/digital-garden
|
# drone sign --save upagge/digital-garden
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: cba9924e2c1cfa3c94734db7fc328f44c71af65ff707f9f81809cc9729d34f64
|
hmac: f821b2582a95172662e7df6cb472cb67de31311e604048f21732ed29d0f64fcb
|
||||||
|
|
||||||
...
|
...
|
||||||
|
Loading…
Reference in New Issue
Block a user