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

yaml upload does not allow array for src #3551

Closed
pniederlag opened this issue Mar 27, 2023 · 0 comments · Fixed by #3552
Closed

yaml upload does not allow array for src #3551

pniederlag opened this issue Mar 27, 2023 · 0 comments · Fixed by #3552

Comments

@pniederlag
Copy link
Contributor

  • Deployer version: 7.3.0
  • Deployment OS: ubuntu 20.04-lts

the upload function allows either string or array for src. Unfortunatly the schema.json (used to import from yaml to deployer) will fail for array, as it is expecting string only.

yaml that will fail:

tasks:
  deploy:upload:
    - upload:
        src: ["docker-compose.yml", "xyz.txt"]
        dest: '{{release_path}}/'
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 a pull request may close this issue.

1 participant