aurora-is-near / doc.aurora.dev

The source repository for the Aurora documentation website.
https://doc.aurora.dev
Creative Commons Zero v1.0 Universal
34 stars 39 forks source link

GitHub action to deploy docs on push to master #8

Closed birchmd closed 3 years ago

birchmd commented 3 years ago

I'm not 100% sure how to test whether this works or not. Probably we'll just have to merge this, then push some change to master and see if it runs successfully.

Closes #7

artob commented 3 years ago

@birchmd Works :+1: (Please note my comments for the future.)

artob commented 3 years ago

@birchmd On the downside, it does destroy all gh-pages branch history:

https://github.com/aurora-is-near/doc.aurora.dev/commits/gh-pages

Ideally that would be preserved so that we would know what exactly was published when. But it's not a high priority to fix.

birchmd commented 3 years ago

Agreed, that is not good. I assume this is because of the --force option passed by the action.

The action is not very complex, so maybe we should copy the script locally to our repo and remove the --force option. Then use our own copy of the script in the action.