Skip to content

Conversation

@cderv
Copy link
Collaborator

@cderv cderv commented Jan 8, 2024

This

gh-pages needs to be existing when publishing with --no-prompt. This could happen when initialiazing a new repo on CI without calling quarto publish gh-pages first locally, or creating the gh-pages branch manually.

This PR adds an error in the function that checks for it to have a more helpful error

`gh-pages` needs to be existing when publishing with `--no-prompt`. This could happen when initialiazing a new repo on CI without calling `quarto publish gh-pages` first locally, or creating the `gh-pages` branch manually.
@cderv cderv linked an issue Jan 8, 2024 that may be closed by this pull request
5 tasks
@cderv
Copy link
Collaborator Author

cderv commented Jan 8, 2024

@cscheid still ok to merge in main ?

@cderv cderv requested a review from cscheid January 8, 2024 15:48
@cscheid
Copy link
Collaborator

cscheid commented Jan 8, 2024

Yes, it is.

@cderv cderv merged commit cd58860 into main Jan 8, 2024
@cderv cderv deleted the publish/gh-pages branch January 8, 2024 19:27
cderv added a commit that referenced this pull request Jan 11, 2024
cderv added a commit that referenced this pull request Jan 11, 2024
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.

ERROR: No _publish.yml file available gh-actions documentation issues GHA to Github Pages: misleading error + need for documentation

3 participants