Skip to content

Create GitHub action that cleans up the Docs preview versions from PRs#66

Merged
bors[bot] merged 2 commits intomainfrom
ncc/docs-previews-cleanup
Oct 11, 2021
Merged

Create GitHub action that cleans up the Docs preview versions from PRs#66
bors[bot] merged 2 commits intomainfrom
ncc/docs-previews-cleanup

Conversation

@navidcy
Copy link
Member

@navidcy navidcy commented Oct 10, 2021

@charleskawczynski
Copy link
Member

The GHA in https://github.com/CliMA/TimeMachine.jl/blob/master/.github/workflows/DocCleanup.yml seems to look a bit different. In particular, the if [ -d "previews/PR$PRNUM" ]; then in TimeMachine.jl seems like this happens conditionally, which doesn't seem to be the case in this PR. Is this an updated recommended version from somewhere?

@navidcy
Copy link
Member Author

navidcy commented Oct 11, 2021

The GHA in https://github.com/CliMA/TimeMachine.jl/blob/master/.github/workflows/DocCleanup.yml seems to look a bit different. In particular, the if [ -d "previews/PR$PRNUM" ]; then in TimeMachine.jl seems like this happens conditionally, which doesn't seem to be the case in this PR. Is this an updated recommended version from somewhere?

I got this from Documenter.jl Docs --> https://juliadocs.github.io/Documenter.jl/stable/man/hosting/#gh-pages-Branch

@navidcy
Copy link
Member Author

navidcy commented Oct 11, 2021

bors r+

@bors
Copy link
Contributor

bors bot commented Oct 11, 2021

Build succeeded:

@bors bors bot merged commit d267509 into main Oct 11, 2021
@bors bors bot deleted the ncc/docs-previews-cleanup branch October 11, 2021 02:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants