Hi There,
I am trying to deploy my first Go application to Heroku, and I am using bitbucket pipelines. When I run deploy, I got an error.
Here is error message cannot find module for path _/opt/atlassian/pipelines/agent/build/__PACKAGE_PATH_/connection
Here is my bitbucket-pipelines.yml file
image: golang:1.12.3clone: depth: fullpipelines:
default: - step: name: test deployment: production script: #start to deploy it #- echo "start to deploy" # - pipe: atlassian/heroku-deploy:0.1.1 # variables: # HEROKU_API_KEY: $HEROKU_API_KEY # HEROKU_APP_NAME: $HEROKU_APP_NAME - PACKAGE_PATH="\${GOPATH}/src/bitbucket.org/\${BITBUCKET_REPO_OWNER}/\${BITBUCKET_REPO_SLUG}" - mkdir -pv "\${PACKAGE_PATH}" - tar -cO --exclude-vcs --exclude=bitbucket-pipelines.yml . | tar -xv -C "\${PACKAGE_PATH}" - cd "\${PACKAGE_PATH}" - go get -v - go build -v - git push https://heroku:$HEROKU_API_KEY@git.heroku.com/$HEROKU_APP_NAME.git HEAD