You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix GH workflow so docs deploy on new releases (#245)
Previously, when merging a new release, a new version of the docsite
would not get deployed. Apparently I misunderstood the purpose of the
`github.event.merged` property. I've changed this so that the step to
determine the destination for the docsite (and hence whether the docsite
should be deployed) looks for the `main` branch to be pushed and for
`version.rb` to be updated.
I've also fixed the index page for the docsite so it redirects to the
correct release page.
- name: Announce publishing of docsite as a comment on the PR
234
+
if: ${{ github.event_name == 'pull_request' }}
229
235
run: |
230
236
gh pr comment "$PULL_REQUEST_NUMBER" --body ":book: A new version of the docsite has been published at: <https://mcmire.github.io/super_diff/$DOCSITE_DESTINATION_PATH>"
0 commit comments