Upload artifacts to pull request deploy environment (#539)

This commit is contained in:
fdb-hiroshima
2019-04-20 23:07:50 +02:00
committed by GitHub
parent 29e11f552f
commit a20d2df50a
2 changed files with 8 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
#!/bin/bash
pr_id=$(basename "$CI_PULL_REQUEST")
[ -z "$pr_id" ] && exit
backend="$FEATURES"
password="$JOINPLUME_PASSWORD"
curl -T plume.tar.gz "https://circleci:$password@joinplu.me/upload_pr/$backend/$pr_id.tar.gz"