Skip to content

Instantly share code, notes, and snippets.

@localheinz
Last active January 17, 2020 15:15
Show Gist options
  • Save localheinz/cd123afdcf980996746bfacef107fb16 to your computer and use it in GitHub Desktop.
Save localheinz/cd123afdcf980996746bfacef107fb16 to your computer and use it in GitHub Desktop.
Workflow for regenerating the documentation on a push to master
name: Regenerate documentation
on:
push:
branches:
- master
jobs:
setup:
name: Regenerate documentation
runs-on: ubuntu-latest3
steps:
- name: Checkout"
uses: actions/checkout@master
- name: Regenerate documentation
run: "..."
- name: Commit regenerated documentation
uses: stefanzweifel/git-auto-commit-action@v2.5.0
with:
branch: master
commit_message: "Enhancement: Regenerate documentation"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment