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

Add setup script and filter to import content from remote REST API #18

Merged
merged 2 commits into from
Jul 27, 2022

Conversation

tellyworth
Copy link
Contributor

This will import content directly from the staging server REST API.

See #1

Depends on WordPress/wporg-mu-plugins#227

That PR will need to be merged and synced to the server in order for the import script here to work.

@tellyworth tellyworth requested a review from ryelle July 26, 2022 07:57
@tellyworth
Copy link
Contributor Author

To run it:

yarn run setup:refresh

Note that the server side mu-plugin has to be there for this to work. I'm not sure it's possible to test this with a sandbox.

If this works ok we could replace the data.xml import with it during initial setup.

@tellyworth tellyworth merged commit 8765387 into main Jul 27, 2022
@tellyworth tellyworth deleted the add/import-content-scripts branch July 27, 2022 07:41
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.

1 participant