mozilla / concepts

Static site tool for generating product concepts
4 stars 6 forks source link

deployment scripts not working #101

Closed johngruen closed 5 years ago

johngruen commented 5 years ago

STR: try to deploy on stage or prod...nothing happens

marniepw commented 5 years ago

Following...

bqbn commented 5 years ago

I see that the latest stage [1] build has the following error:

error GraphQL Error Field "cobrandIcon" must not have a selection since type "String" has no subfields.

  file: /home/circleci/concepts/src/templates/conceptVariant/index.js

   5 |         slug
   6 |       }
   7 |       frontmatter {
   8 |         metaName
   9 |         metaCleanName
  10 |         metaVariant
  11 |         metaPrimaryLink
  12 |         metaSecondaryLink
  13 |         concept {
  14 |           cobrand
> 15 |           cobrandIcon {
     |                       ^
  16 |             publicURL
  17 |           }
  18 |           hero {
  19 |             title
  20 |             text
  21 |             cta
  22 |             image {
  23 |               publicURL
  24 |             }
  25 |           }

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Exited with code 1

The latest production build [2] has a similar error too.

It looks like a syntax error, rather than a push error.

johngruen commented 5 years ago

huh, thanks @bqbn not seeing that error locally...will verify

johngruen commented 5 years ago

Oh yeah, i tracked it down...there was a formatting issue in one of the templates that was hidden by my local cached version

johngruen commented 5 years ago

Thanks for your help...was able to update stage and prod with the fix!