Migrate synchronization script to github actions #99
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Supersedes #98. Closes #96.
Unlike the travis script, this workflow doesn't push to heaps.wiki. Synchronisation for that would be handled in HeapsIO/heaps#1232. This avoids the need for a Personal Access Token, so this can be merged as-is without further setup.
Synchronisation happens after every push to master, daily at 1:00 UTC, and it can also be triggered manually. Also, for pull requests, the workflow also checks that the pull request does not introduce conflicts. This should reduce the chance that conflicts will arise in future with heaps.wiki.
Again, currently there is a merge conflict with the wiki so that must first be resolved: #97.