Skip to content

Commit

Permalink
OPS: filestorage
Browse files Browse the repository at this point in the history
  • Loading branch information
Overtorment committed Jun 22, 2021
1 parent ba35ee8 commit 68253a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions appcenter-post-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ if [ -f $FILENAME ]; then
HASH=`date +%s`
FILENAME_UNIQ="$APPCENTER_OUTPUT_DIRECTORY/$BRANCH-$HASH.apk"
cp "$FILENAME" "$FILENAME_UNIQ"
curl "http://filestorage.bluewallet.io:1488/$FILESTORAGE" -F "fileToUpload=@$FILENAME_UNIQ"
curl "http://206.189.62.190:1488/$FILESTORAGE" -F "fileToUpload=@$FILENAME_UNIQ"
rm "$FILENAME_UNIQ"
DLOAD_APK="http://filestorage.bluewallet.io:1488/$BRANCH-$HASH.apk"
DLOAD_APK="http://206.189.62.190:1488/$BRANCH-$HASH.apk"

curl -X POST --data "{\"body\":\"♫ This was a triumph. I'm making a note here: HUGE SUCCESS ♫\n\n [android in browser] $APPURL\n\n[download apk]($DLOAD_APK) \"}" -u "$GITHUB" "https://api.github.com/repos/BlueWallet/BlueWallet/issues/$PR/comments"
fi

0 comments on commit 68253a7

Please sign in to comment.