lsms-worldbank / adodown

Tools for building Stata package documentation websites
https://lsms-worldbank.github.io/adodown/
5 stars 0 forks source link

Better manage site state so GHA deploys it #23

Closed arthur-shaw closed 5 months ago

arthur-shaw commented 6 months ago

While adodownr has been updated to have better defaults and handle issues, the GHA needs to be updated too, in a few ways:

  1. Ensure adodownr's new default not to delete site is explictly used
  2. Have GitHub Pages Deploy action prune files that no longer exist on the site

In this PR, make edits to:

arthur-shaw commented 6 months ago

@kbjarkefur , how does this look to you?

See a few runs on test_gha that show that this works with the current YAML, and doesn't work if adodownr deletes the site before the deploy step