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

Handle use case where GitHub holds only the contents of wp-content #25

Open
JasonHoffmann opened this issue Jun 14, 2019 · 1 comment
Open

Comments

@JasonHoffmann
Copy link

We have a repo syncing to Pantheon that only contains the wp-content folder, and excludes all WordPress core files. So when this orb rsyncs to Pantheon here (https://github.com/pantheon-systems/circleci-orb/blob/master/src/%40orb.yml#L96), it deletes all of the WordPress core files from the multidev site. I've tried a few things with .gitignore but this doesn't seem ideal as it would interfere with upstreams. Is there a way around this?

@stevector
Copy link
Contributor

Huh, that makes sense. I had not accounted for a repo on GitHub setup to contain only the wp-content folder. This case could be accommodated by adding more complexity to the job (configuring the rsync command) but I think I would prefer just making a separate job explicitly for this use case. Let me think on it.

Thanks for testing @JasonHoffmann!

@stevector stevector changed the title WordPress Core Files deleted during rsync Handle use case where GitHub holds only the contents of wp-content Jun 14, 2019
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

No branches or pull requests

2 participants