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

support: keep_files and multiple docs versions #1006

Open
3 tasks done
adam-grant-hendry opened this issue Oct 15, 2023 · 0 comments
Open
3 tasks done

support: keep_files and multiple docs versions #1006

adam-grant-hendry opened this issue Oct 15, 2023 · 0 comments
Assignees
Labels
support User support

Comments

@adam-grant-hendry
Copy link

adam-grant-hendry commented Oct 15, 2023

Checklist

  • I am using the latest version of this action.
  • I have read the latest README and followed the instructions.
  • I have read the latest GitHub Actions official documentation and learned the basic spec and concepts.

Describe your question

I deploy multiple versions of my docs on a gh-pages branch. The docs live in separate subfolders (e.g. dev, stable, 0.1.0, etc.). I want to keep the docs that are already on the gh-pages and override existing files with new ones (e.g. new dev docs or new stable docs are built).

keep_files=true does not allow this. If I try to overwrite the existing dev folder, the files are written to the root and the old dev folder is left in place. Without keep_files=true, the entire branch is cleared every time I deploy and I lose my existing docs.

Relevant links

Public repository: https://github.com/adam-grant-hendry/poetry_plugin_constrain
YAML workflow: .github/workflows/docs.yml

Relevant log output

No response

Additional context.

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
support User support
Projects
None yet
Development

No branches or pull requests

2 participants