diff --git a/appcenter-post-build-get-pr-number.js b/appcenter-post-build-get-pr-number.js index e27324b4..8e87b553 100755 --- a/appcenter-post-build-get-pr-number.js +++ b/appcenter-post-build-get-pr-number.js @@ -1,6 +1,6 @@ const https = require('https'); -const auth = 'Basic ' + Buffer.from('Overtorment' + ':' + process.env.GITHUB).toString('base64'); +const auth = 'Basic ' + Buffer.from(process.env.GITHUB).toString('base64'); const branch = require('child_process') .execSync('git ls-remote --heads origin | grep $(git rev-parse HEAD) | cut -d / -f 3') diff --git a/appcenter-post-build.sh b/appcenter-post-build.sh index d1b1c951..62513d89 100755 --- a/appcenter-post-build.sh +++ b/appcenter-post-build.sh @@ -16,5 +16,5 @@ if [ -f $FILENAME ]; then echo App url: $APPURL PR=`node appcenter-post-build-get-pr-number.js` echo PR: $PR - curl -X POST --data "{\"body\":\"This was a triumph. I'm making a note here: HUGE SUCCESS.\n\n [android] $APPURL\"}" -u "$GITHUB_USERNAME:$GITHUB" "https://api.github.com/repos/BlueWallet/BlueWallet/issues/$PR/comments" + curl -X POST --data "{\"body\":\"This was a triumph. I'm making a note here: HUGE SUCCESS.\n\n [android] $APPURL\"}" -u "$GITHUB" "https://api.github.com/repos/BlueWallet/BlueWallet/issues/$PR/comments" fi