Currently, this is my pipeline file:
# Template NodeJS build# This template allows you to validate your NodeJS code.# The workflow allows running tests and code linting on the default branch.image: node:16pipelines:default: - parallel: - step:name: Build and Testcaches: - nodescript: - npm install - git archive --format=tar.gz main -o application.tar.gzartifacts: - application.tar.gz - step:name: Herokuscript: - pipe: atlassian/heroku-deploy:0.1.1variables:HEROKU_API_KEY: $HEROKU_API_KEYHEROKU_APP_NAME: $HEROKU_APP_NAME ZIP_FILE: application.tar.gz
This is the error I'm getting:
<span>FileNotFoundError: [Errno 2] No such file or directory: 'application.tar.gz'</span>
@Guilherme hi. Thank you for your question.
Seems like you are using parallel step so heroku tries to deploy file that not present yet.
Remove parallel from the config and all should start work.
Regards, Igor
It looks like you're new here. Sign in or register to get started.