pantheon-systems / circleci-orb

Use CircleCI to push code to Pantheon Dev and Multidev Environments
10 stars 18 forks source link

Passing parameter to push job #48

Closed balcantara90 closed 4 years ago

balcantara90 commented 4 years ago

I'm passing a false clone_content parameter however in circleci I'm getting this error. Not sure what I'm doing wrong

image

  compile_sass_and_push:
    jobs:
      - npmbuild_and_persist
      - pantheon/push:
          clone_content: false
          requires:
            - npmbuild_and_persist
          checkout: false
          pre-steps:
            - checkout
            - run: composer install --no-dev --optimize-autoloader
stevector commented 4 years ago

Hi @balcantara90, Thanks for trying the orb. The issue is likely the Orb version number. clone_content was introduced in 0.5.0. But the examples in the readme file still used 0.2.0. I've opened a PR to fix that: https://github.com/pantheon-systems/circleci-orb/pull/49. Can you confirm that this was your issue?

balcantara90 commented 4 years ago

Hi @balcantara90, Thanks for trying the orb. The issue is likely the Orb version number. clone_content was introduced in 0.5.0. But the examples in the readme file still used 0.2.0. I've opened a PR to fix that: #49. Can you confirm that this was your issue?

Rookie mistake, was exactly this. Thanks