ci: add publish step
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2023-03-08 13:19:30 +01:00
parent 281a01db5e
commit 892f89b73f
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0

View File

@ -10,10 +10,26 @@ steps:
- name: generate - name: generate
image: thegeeklab/alpine-tools image: thegeeklab/alpine-tools
commands: 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 - 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: trigger:
ref: ref:
- refs/heads/main - refs/heads/main
@ -59,6 +75,6 @@ depends_on:
--- ---
kind: signature kind: signature
hmac: a72cd768ef5389dc4d62333cf26ec47c9a7b14a3d244fa76c15ca73887cd1296 hmac: f93aa1c27fdb75892ba6c5d0574d37332da585254a2af407a209efa244f4ef83
... ...