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

wagon deploy -f doesn't work for sections #394

Open
dcoleman-lulzbot opened this issue Nov 23, 2020 · 1 comment
Open

wagon deploy -f doesn't work for sections #394

dcoleman-lulzbot opened this issue Nov 23, 2020 · 1 comment

Comments

@dcoleman-lulzbot
Copy link

wagon deploy -f doesn't work for resource type -r sections.

To test this, I filtered on a bogus name. For pages, nothing is pushed (filtering works):

root@3baea6883eed:/workspace# wagon deploy test -r pages -f asdfasdf -v

Pushing Pages


Your site has been deployed.

For sections, it seems to be pushing all sections regardless of what's in the filter

root@3baea6883eed:/workspace# wagon deploy test -r sections -f asdfasdf -v

Pushing Sections
  persisting Account login [done]
  persisting Algolia faceting [done]
  persisting Banner fixed [done]
  persisting Cards [done]
  persisting Carousel [done]
  persisting Cart address [done]
  persisting Cart breadcrumb [done]
  persisting Cart checkout [done]
  persisting Cart delivery [done]
  persisting Cart end [done]
  persisting Cart login [done]
  persisting Cart summary [done]
  persisting Category filters [done]
  persisting Category products list [done]
  persisting Category showcase [done]
  persisting Category sitemap [done]
  persisting Cell row [done]
  persisting Contact form [done]
  persisting Contact us [done]
  persisting Cookies manager [done]
  persisting Dynamic carousel [done]
  persisting Dynamic slider [done]
  persisting Footer [done]
  persisting Header [done]
  persisting Header lite [done]
  persisting Instantsearch [done]
  persisting Posts [done]
  persisting Products discounted list [done]
  persisting Products list [done]
  persisting Searchkit faceting [done]


Your site has been deployed.

I have not tried to see if this is broken on any other resource types.

@greyskin
Copy link

greyskin commented Nov 24, 2020

Yes, the deploy functionality is inconsistent across resource types. From my testing the following are not available for individual deployment:

  • content_types
  • sections
  • snippets

I don't know if this is intended behaviour or a bug. Either way, the group deployment when a single item has been specified, along with the message "Your site has been deployed" is somewhat misleading if one doesn't pass the -v option.

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