cicd
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Struchkov Mark 2024-09-05 03:05:17 +03:00
parent 8a836f0987
commit f041ff5816
No known key found for this signature in database
GPG Key ID: A3F0AC3F0FA52F3C

View File

@ -19,13 +19,12 @@ steps:
pull: always pull: always
image: docker.struchkov.dev/quartz:develop image: docker.struchkov.dev/quartz:develop
commands: commands:
- git clone https://git.struchkov.dev/upagge/digital-garden.git . - git clone https://git.struchkov.dev/upagge/digital-garden.git /usr/src/app/content
- cp -r ./* /usr/src/app/content - cd /usr/src/app
- cp ./.quartz/quartz.config.ts /usr/src/app/ - mv ./content/.quartz/quartz.config.ts .
- cp ./.quartz/quartz.layout.ts /usr/src/app/ - mv ./content/.quartz/quartz.layout.ts .
- cd /usr/src/app/
- npx quartz build - npx quartz build
- mv /usr/src/app/public /drone/src - mv 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:
@ -54,6 +53,6 @@ steps:
# drone sign --save upagge/digital-garden # drone sign --save upagge/digital-garden
--- ---
kind: signature kind: signature
hmac: b154425454a2ed3f218e4c5a6b0e96cd739823be8cfabcd31bcbfd097183eec1 hmac: 4abc3adc4a4c3c7dde5936b5dee82fa63719e1c5b10f37777da73a73979d49b5
... ...