-1
I have a problem integrating pipelines of bitbucket with Heroku, I set the file normally, and when it goes to part of the build in Heroku it appears this message:
-----> Building on the Heroku-20 stack
! Push rejected, Failed decompressing source code.
Source archive detected as: Zip archive data, at least v2.0 to extract
More information: https://devcenter.heroku.com/articles/platform-api-deploying-slugs#create-slug-archive
My pipeline is like this
image: composer:2.0
pipelines:
default:
- parallel:
- step:
name: Deploy
script:
- zip -r slug.zip .
- pipe: atlassian/heroku-deploy:0.1.1
variables:
HEROKU_API_KEY: $HEROKU_API_KEY
HEROKU_APP_NAME: $HEROKU_APP_NAME
ZIP_FILE: 'slug.zip'
I tried through tar and I couldn’t either