You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
We have a build that uses the git provider.
It successfully clones our node repo, runs install, runs tests, then starts our custom script.
Our custom script run an npm prune --production, then an npm pack, we then push the new tarball into aws S3. Finally we run npm version patch with a commit message.
Everything up to this point works fine up to this point. The problem comes when we try to push the tags and the modified package.json file back into github.
+ git push --follow-tags origin master
Permission denied (publickey).
fatal: Could not read from remote repository.
How can we successfully complete this process buy pushing to github?
Our build script in case it helps:
appName=`node -e "console.log(require('./package.json').name);"`
npm version patch -m "%s (production deployment)"
npm prune --production
npm pack
# push to s3
version=`node -e "console.log(require('./package.json').version);"`
mv ./${appName}-*.tgz ./${appName}.tgz || exit 1
aws s3 cp --sse AES256 ./${appName}.tgz s3://${bucket}/deployables/${appName}-aws/${appName}-${version}.tgz|| exit 1
# bump the version again for development
npm version patch -m "%s (development)"
git push --follow-tags origin master
The text was updated successfully, but these errors were encountered:
Hello,
We have a build that uses the git provider.
It successfully clones our node repo, runs install, runs tests, then starts our custom script.
Our custom script run an npm prune --production, then an npm pack, we then push the new tarball into aws S3. Finally we run npm version patch with a commit message.
Everything up to this point works fine up to this point. The problem comes when we try to push the tags and the modified package.json file back into github.
How can we successfully complete this process buy pushing to github?
Our build script in case it helps:
The text was updated successfully, but these errors were encountered: