Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

- do_pkgdown(): Prevent deploying from pull requests #308

Merged
merged 6 commits into from
Dec 22, 2021
Merged

Conversation

pat-s
Copy link
Member

@pat-s pat-s commented Dec 22, 2021

The old env var GITHUB_BASE_REF pointed to the default branch and triggered a pkgdown deployment from PRs.
The new env var GITHUB_HEAD_REF actually returns the branch of the PR.

@pat-s pat-s changed the title Prevent deploying from pull requests in do_pkgdown() - do_pkgdown(): Prevent deploying from pull requests Dec 22, 2021
@pat-s pat-s merged commit 351f660 into main Dec 22, 2021
@pat-s pat-s deleted the pkgdown-deploy branch December 22, 2021 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant