This commit is contained in:
parent
9d1fa85275
commit
58dbc3a241
@ -13,7 +13,6 @@ image_pull_secrets:
|
|||||||
steps:
|
steps:
|
||||||
- name: build site
|
- name: build site
|
||||||
# https://hub.docker.com/r/library/docker
|
# https://hub.docker.com/r/library/docker
|
||||||
pull: always
|
|
||||||
image: docker.struchkov.dev/quartz:develop
|
image: docker.struchkov.dev/quartz:develop
|
||||||
commands:
|
commands:
|
||||||
- cp -r ./* /usr/src/app/content
|
- cp -r ./* /usr/src/app/content
|
||||||
@ -21,7 +20,7 @@ steps:
|
|||||||
- cp ./.quartz/quartz.layout.ts /usr/src/app/
|
- cp ./.quartz/quartz.layout.ts /usr/src/app/
|
||||||
- cd /usr/src/app/
|
- cd /usr/src/app/
|
||||||
- npx quartz build
|
- npx quartz build
|
||||||
- mv /usr/src/app/public /drone/srс
|
- mv /usr/src/app/public /drone/src
|
||||||
- name: publish to server
|
- name: publish to server
|
||||||
image: private.docker.struchkov.dev/mkdocs:latest
|
image: private.docker.struchkov.dev/mkdocs:latest
|
||||||
environment:
|
environment:
|
||||||
@ -50,6 +49,6 @@ steps:
|
|||||||
# drone sign --save upagge/digital-garden
|
# drone sign --save upagge/digital-garden
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: 0bb195e98e5da17cfee4f455efc38c49df2cd15e5c1f28bdeab07b7cc955a29d
|
hmac: ef89b5587a4e332e20599fdb99f685f70c42cc6fb2fd6e5f1e7a98f0e91ad4e8
|
||||||
|
|
||||||
...
|
...
|
||||||
|
Loading…
Reference in New Issue
Block a user