Crates.io | github-actions-autodocs |
lib.rs | github-actions-autodocs |
version | 0.1.4 |
source | src |
created_at | 2023-04-05 16:41:55.290547 |
updated_at | 2023-04-07 00:23:56.381985 |
description | Generate a basic readme for the given github action |
homepage | |
repository | https://github.com/rawnly/github-actions-autodocs |
max_upload_size | |
id | 831227 |
size | 28,144 |
Generate a basic readme for the given github action
Install via cargo
cargo install github-actions-autodocs
Usage: github-actions-autodocs [OPTIONS]
Options:
-f, --file <FILE> Source path [default: action.yml]
--dry Dry run
-o, --output <OUTPUT> Output filepath
-h, --help Print help
-V, --version Print version
name: Generate Readme
on:
push:
jobs:
generate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: rawnly/github-actions-autodocs@main
with:
action-file: action.yml
- shell: bash
run: |
git add -A .
git commit -m 'docs: README'
git push -u origin ${{ github.ref }}
TIP: Alias
github-actions-autodocs
togca
😉
The MIT License