Create a badge using GitHub Actions and GitHub Workflow CPU time (no 3rd parties servers)
npm install generated-badgesGenerated Badges
===



Create a badge using GitHub Actions and GitHub Workflow CPU time (no 3rd parties servers)
``shell`
$ npm i generated-badges -g
`bash
Usage: generated-badges [options] [--help|h]
Options:
--version, -v Show version number.
--help, -h Displays help information.
--output, -o Output svg image path.
--label, -l The left label of the badge, usually static.
--labelColor
--style Badges style: flat, classic.
--status, -s Override default status text.
--scale Set badge scale (default: 1).
--color, -c
--gradient, -g Adding a gradient to a badge.'
Example:
generated-badges --output coverage/badges.svg
generated-badges --style classic
generated-badges --color red
generated-badges --gradient c05cff --gradient fa5b37
`
`yml
- run: mkdir -p build
- name: Generate Badges
uses: jaywcjlove/generated-badges@main
with:
label: color
status: cyan
output: build/cyan.svg
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: xxxxxxx
publish_dir: ./build
`
Available color names:
!blue badges
!cyan badges
!green badges
!yellow badges
!red badges
!pink badges
!purple badges
!grey badges
!black badges
!gradient badges
- label - The left label of the badge, usually static. (default :label)status
- - The right status as the badge, usually based on results. (default :status)style
- - Badges style: flat, classic. (default classic)color
- - An array (comma separated) with hex or named colors of the badge value background. (default blue)labelColor
- - Hex or named color for the label. (default 555)output
- - Output image path. (default BADGES.svg)scale
- - Set badge scale. (default 1)gradient
- - Adding a gradient to a badge. (example c05cff,fa5b37)
- svg svg image string:
- Github Release Changelog Generator A GitHub Action that compares the commit differences between two branches
- Create Tags From Auto create tags from commit or package.json.
- Github Action Contributors Github action generates dynamic image URL for contributor list to display it!
- Create Coverage Badges Create coverage badges from coverage reports. (no 3rd parties servers)
- Generated Badges Create a badge using GitHub Actions and GitHub Workflow CPU time (no 3rd parties servers)
As always, thanks to our amazing contributors!
Made with github-action-contributors.
Licensed under the MIT License.