From f041ff581600250cda13098987a24f5aa57c5887 Mon Sep 17 00:00:00 2001 From: Struchkov Mark Date: Thu, 5 Sep 2024 03:05:17 +0300 Subject: [PATCH] cicd --- .drone.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.drone.yml b/.drone.yml index 01d403b5..6ceb926d 100644 --- a/.drone.yml +++ b/.drone.yml @@ -19,13 +19,12 @@ steps: pull: always image: docker.struchkov.dev/quartz:develop commands: - - git clone https://git.struchkov.dev/upagge/digital-garden.git . - - cp -r ./* /usr/src/app/content - - cp ./.quartz/quartz.config.ts /usr/src/app/ - - cp ./.quartz/quartz.layout.ts /usr/src/app/ - - cd /usr/src/app/ + - git clone https://git.struchkov.dev/upagge/digital-garden.git /usr/src/app/content + - cd /usr/src/app + - mv ./content/.quartz/quartz.config.ts . + - mv ./content/.quartz/quartz.layout.ts . - npx quartz build - - mv /usr/src/app/public /drone/src + - mv public /drone/src - name: publish to server image: private.docker.struchkov.dev/mkdocs:latest environment: @@ -54,6 +53,6 @@ steps: # drone sign --save upagge/digital-garden --- kind: signature -hmac: b154425454a2ed3f218e4c5a6b0e96cd739823be8cfabcd31bcbfd097183eec1 +hmac: 4abc3adc4a4c3c7dde5936b5dee82fa63719e1c5b10f37777da73a73979d49b5 ...