Better way of determining whether a commit is a PR
This commit is contained in:
parent
68f2288dd7
commit
b3d7c9df9f
|
@ -61,7 +61,7 @@ script:
|
|||
- platformio run -e teensy35 -e teensy40 -e megaatmega2560
|
||||
# The uploading of the firmware and doxygen files are only performed on the master branch
|
||||
- |
|
||||
if [ "$TRAVIS_BRANCH" == "master" ]; then
|
||||
if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
|
||||
# Upload ini and hex files to speeduino.com server
|
||||
curl -v https://speeduino.com:2078 || true
|
||||
curl -v --tlsv1.2 --ipv4 --user "speeduino_firmware@speeduino.com:$WEB_PWD" --basic -T "./.pio/build/megaatmega2560/firmware.hex" "https://speeduino.com:2078/bin/master.hex"
|
||||
|
|
Loading…
Reference in New Issue