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

deploy production push local data #408

Open
gcolson opened this issue Jan 10, 2022 · 1 comment
Open

deploy production push local data #408

gcolson opened this issue Jan 10, 2022 · 1 comment

Comments

@gcolson
Copy link

gcolson commented Jan 10, 2022

I deployed my production site using the following command
WAGON_NO_MINIFY_ASSETS=1 wagon deploy production -v -d -r pages
The issue is that it simply pushed all the pages data of my local site to my production site (instead of deploying the production data).

What I did before that :

  • I synced the production data
  • I checked that it was ok
  • I edited some of it
  • Then I deployed it with the above command.
    I tried many time but the only solution was to manually copy-paste everything that is in the data/production folder to the data/local folder. Only then have I got my production data back.

Am I using a wrong command or is there really a so obvious (and really annoying) bug that nobody ever saw ?

@greyskin
Copy link

greyskin commented Jan 12, 2022

Hi @gcolson,

Try:

wagon deploy production -r pages -e production -d -v

-e allows you to specify the environment data to be deployed. The above should deploy pages with data in your data/production folder.

The deployment options are documented here.

@did, voting to close.

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