0
0
mirror of https://github.com/thegeeklab/wp-gitea-release.git synced 2024-11-24 23:10:39 +00:00
wp-gitea-release/docs/data/data.yaml

60 lines
1.1 KiB
YAML
Raw Normal View History

2024-01-04 22:26:33 +00:00
---
properties:
- name: api_key
description: |
2024-01-04 22:47:02 +00:00
Api key to access Gitea API.
2024-01-04 22:26:33 +00:00
type: string
required: true
- name: base_url
description: |
2024-01-04 22:47:02 +00:00
URL of the Gitea instance.
2024-01-04 22:26:33 +00:00
type: string
2024-01-04 22:47:02 +00:00
required: true
- name: checksum
description: |
Generate specific checksums.
type: list
2024-01-04 22:26:33 +00:00
required: false
2024-01-04 22:47:02 +00:00
- name: draft
2024-01-04 22:26:33 +00:00
description: |
2024-01-04 22:47:02 +00:00
Create a draft release.
type: bool
defaultValue: false
required: false
2024-01-04 22:26:33 +00:00
2024-01-04 22:47:02 +00:00
- name: file_exist
description: |
What to do if file already exist.
2024-01-04 22:26:33 +00:00
type: string
2024-01-04 22:47:02 +00:00
defaultValue: "overwrite"
2024-01-04 22:26:33 +00:00
required: false
2024-01-04 22:47:02 +00:00
- name: files
2024-01-04 22:26:33 +00:00
description: |
2024-01-04 22:47:02 +00:00
List of files to upload.
type: list
required: false
- name: note
description: |
File or string with notes for the release.
2024-01-04 22:26:33 +00:00
type: string
2024-01-04 22:47:02 +00:00
required: false
2024-01-04 22:26:33 +00:00
2024-01-04 22:47:02 +00:00
- name: prerelease
2024-01-04 22:26:33 +00:00
description: |
2024-01-04 22:47:02 +00:00
Set the release as prerelease.
2024-01-04 22:26:33 +00:00
type: bool
defaultValue: false
required: false
2024-01-04 22:47:02 +00:00
- name: title
2024-01-04 22:26:33 +00:00
description: |
2024-01-04 22:47:02 +00:00
File or string for the title shown in the Gitea release.
type: string
defaultValue: $CI_COMMIT_TAG
2024-01-04 22:26:33 +00:00
required: false