33 lines
735 B
YAML
33 lines
735 B
YAML
---
|
|
when:
|
|
- event: [pull_request, tag]
|
|
- event: [push, manual]
|
|
branch:
|
|
- ${CI_REPO_DEFAULT_BRANCH}
|
|
|
|
steps:
|
|
- name: build
|
|
image: quay.io/thegeeklab/alpine-tools
|
|
commands:
|
|
- make
|
|
- exit 1
|
|
|
|
- name: publish
|
|
image: quay.io/thegeeklab/wp-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/${CI_REPO_NAME}
|
|
when:
|
|
- event: [push, manual]
|
|
branch:
|
|
- ${CI_REPO_DEFAULT_BRANCH}
|