Update mkdocs.yml #30
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Automate Changelog | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
- develop | |
jobs: | |
changelog: | |
name: Generate changelog | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Generate a changelog | |
uses: orhun/git-cliff-action@v1 | |
id: git-cliff | |
with: | |
config: ./.github/cliff.toml | |
args: --verbose | |
env: | |
OUTPUT: ./CHANGELOG.md | |
- name: Print the changelog | |
run: cat "${{ steps.git-cliff.outputs.changelog }}" | |
- name: Commit and Push Changes | |
uses: actions-js/push@master | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} |