Skip to content

Conversation

@winstliu
Copy link

@winstliu winstliu commented Jan 10, 2020

GitHub Actions help automate workflows.

One cumbersome workflow we have is that all our Markdown files are converted to HTML, formatters are run, files are highlighted...

So, this new "publish" action runs on every push to master and calls make all, followed by a push back to master with any changed files.

This actually enables some cool things we could do:

  • Remove all the *.html files and have this action push to gh-pages instead
  • Or, suppress all the *.html files in diffs
  • Or, if we don't want auto-commits that aren't attached to any user account, we could fail the PR instead if we detect any changes after running make all

TODO

  • Decide on whether auto-commit should be a thing
    • If so, what should its name/email be?
  • Set a proper maintainer (it probably shouldn't be me)

Winston Liu added 4 commits January 9, 2020 20:03
The Makefile changes file permissions and we don't care about that
@winstliu
Copy link
Author

example
Example commit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant