Change GH Action used for deploy to GH Pages #886
Merged
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.
Description of the Change
Following the failure in deploy to GH Pages in Classifai and ElasticPress, this PR has been raised to replace the broken GH action used for deploy to GH Pages.
This PR changes the GH Action used to publish to the GH Pages. Previously, we were using https://github.com/maxheld83/ghpages, and this PR changes to use https://github.com/peaceiris/actions-gh-pages
ClassifAI PR: 10up/classifai#345
ElasticPress PR: 10up/ElasticPress#2803
Alternate Designs
Maybe debug an issue in the existing action and fix it or choose any other GH action to deploy to GH pages.
Possible Drawbacks
Verification Process
Hook Docs should deploy correctly once this is merged to the trunk. We will need to merge this one to the trunk to see if it works.
Checklist:
Changelog Entry
Credits
Props @iamdharmesh