Skip to content

quarto publish action deletes pr previews #135

@jwindhager

Description

@jwindhager

Turns out that since quarto-cli v1.3 quarto publish (and, by extension, the corresponding GHA action) cleans the site directory before rendering (see for example b45bf0b). This means that all PR previews are deleted when a PR is merged. The fix for this is to adapt the publish workflow to not use the quarto publish action, but instead resort to the quarto render action and push the rendered page to the gh-pages branch manually.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions