Skip to content

Closes #159 preserve_pr_websites: keep files on gh-pages#160

Open
bundfussr wants to merge 2 commits intomainfrom
159_preserve_pr_websites
Open

Closes #159 preserve_pr_websites: keep files on gh-pages#160
bundfussr wants to merge 2 commits intomainfrom
159_preserve_pr_websites

Conversation

@bundfussr
Copy link
Copy Markdown
Collaborator

@bundfussr bundfussr commented Apr 15, 2026

Pull Request

Use keep_files: true to avoid that existing files on the gh-pages branch are removed when the website is build and deployed.

Before you submit your pull request, take a look at the following checklist. Many thanks for your contribution!

  • Title: Place Closes #<insert_issue_number> at the beginning of your PR title. Use the Edit button in the top-right if you need to update.
  • Linked Issue: Ensure the related issue is linked in the "Development Section" on the right-hand side.
  • First Contribution: If this is your first contribution, add yourself to the DESCRIPTION file.
  • Impact on Examples: If your updates impact any examples, review locally for warnings or errors in the impacted example pages.
  • Merge Conflicts: Developers should address any merge conflicts and merge upon successful review.
  • New Packages: If new packages were used, ensure they are included in the DESCRIPTION file's Imports section.
  • Landing Pages: If new packages were added or removed, update the package tables in the main landing page and the relevant section landing page(s) (sdtm/index.qmd, adam/index.qmd, tlg/index.qmd).
  • Updated Examples: If you added or updated an example, ensure it runs on the latest CRAN release versions of all packages used.
  • Testing Instructions: Provide instructions on how to test the code if necessary.

By default, a temporary website with the content of the PR is created. To avoid this add [skip website] to the title of the PR.

@bundfussr bundfussr linked an issue Apr 15, 2026 that may be closed by this pull request
@github-actions
Copy link
Copy Markdown
Contributor

The website is available at https://pharmaverse.github.io/examples/159_preserve_pr_websites.

@bundfussr bundfussr requested a review from pawelru April 15, 2026 14:11
Comment thread .github/workflows/docs.yaml Outdated
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @pawelru , why is the website built and deployed every day?

Should we add a comment here why it is necessary?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good question - I don't quite remember the rationale to be honest. Happy to change and make it more rarely

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, I've removed the schedule event.

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.

Preserve PR websites

2 participants