From 892f89b73f250652fcd0b299ba8c83032fdb02a6 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Wed, 8 Mar 2023 13:19:30 +0100 Subject: [PATCH] ci: add publish step --- .drone.yml | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 6c956c0..48ef58e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -10,10 +10,26 @@ steps: - name: generate image: thegeeklab/alpine-tools commands: - - curl -SsfL -o /usr/local/bin/openapi2jsonschema "https://raw.githubusercontent.com/yannh/kubeconform/master/scripts/openapi2jsonschema.py" - - chmod +x /usr/local/bin/openapi2jsonschema - make + - name: publish + image: thegeeklab/drone-git-action + settings: + action: + - pages + author_email: shipper@rknet.org + author_name: shipper + branch: catalog + message: auto-update crds catalog + netrc_machine: gitea.rknet.org + netrc_password: + from_secret: gitea_token + pages_directory: dist/ + remote_url: https://gitea.rknet.org/infra/${DRONE_REPO_NAME} + when: + ref: + - refs/heads/main + trigger: ref: - refs/heads/main @@ -59,6 +75,6 @@ depends_on: --- kind: signature -hmac: a72cd768ef5389dc4d62333cf26ec47c9a7b14a3d244fa76c15ca73887cd1296 +hmac: f93aa1c27fdb75892ba6c5d0574d37332da585254a2af407a209efa244f4ef83 ...