mirror of
https://github.com/thegeeklab/wp-gitea-release.git
synced 2024-11-09 17:30:39 +00:00
782 B
782 B
Use this plugin for publishing files and artifacts to GitHub releases. You can override the default configuration with the following parameters:
api_key
- GitHub oauth token with public_repo or repo permissionfiles
- Files to upload to GitHub Release, globs are allowedchecksums
- Checksum hashes to include in your GitHub release for all files specified. Supported hash methods include md5, sha1, sha256, sha512, adler32, and crc32.base_url
- GitHub base URL, only required for GHEupload_url
- GitHub upload URL, only required for GHE
Sample configuration:
publish:
github_release:
api_key: my_github_api_key
files:
- dist/*
checksums:
- md5
- sha1
- sha256
- sha512
- adler32
- crc32