Permalink
Browse files

fix deploy gh api key

  • Loading branch information...
glynhudson committed Jan 23, 2017
1 parent e86a661 commit c4fcc05a1fa04be52470b27f61b6ce365fd075f4
Showing with 9 additions and 22 deletions.
  1. +9 −22 .travis.yml
@@ -9,29 +9,16 @@ install:
- pip install -U platformio
script:
- pio --version
- if [ -z "$TRAVIS_TAG" ]; then
platformio run -d firmware -e emontx;
else
echo $TRAVIS_TAG;
platformio run -d firmware -e emontx_deploy;
fi
- if [ -z "$TRAVIS_TAG" ]; then platformio run -d firmware -e emontx; else echo $TRAVIS_TAG;
platformio run -d firmware -e emontx_deploy; fi
deploy:
provider: releases
api_key:
secure: 10mUPFuio2ZZ1Kvd7q0VEQsC1LIAh5krfzAVlnYkw+dWvATWJ/BLzgtAn+eW+gfu/KO3b21eFoU63I5EfQGqH8sDgSPeyh4SLC+6CmoJTHU+Bv2VREmDp/7uc8fIfePoLxOPugEasWv/A19OAun5FFy+ep3FsRw0u4ywbXRQJTFOteU+WbFIPMj9PkyhnId7tOvUqfPyscJKBcmy3HZ0rkDBbqoQAtcp5yu3LiFzlOCbroiJXx8qipNB1pCBJS30Vop/JotIkIIvp6zC64u6XfscoUCQxDa4jihxSpEgpCc/gEx+6Xq9ydOeG9VMCSoULOEKg7sDLHxXNNk05mDuvV89xKOXk2zb3+DGIL/LF5JoK7jUSha/dK7I/PzoX6o21Vju48bsT2kVw9M5tZfSQ/2CuvswoZEM9iit+dxLv64pgHM+hnqlQxUaoO1rdvmSS7EVVVKA0WkTchfF2UFCJzodfWQHVYz9BdwR3/HMrTeFEjq0eA4dhYzmUwx20mdraxbNicMtIMNI9FY9fnAw2M5fBNTK7nxiK9RLAxDZuMa7eB15+uqFAEpm4avrDfoEbtGy09ye42aT4kUWxok92JyolKh0Y1C7enP1YOsNNLqvJYutHKVoODgP/xA5bfe/t14C2EYMsQwoEek3KUGC8XxWLqVU7IlgJbsjCsLK+do=
file: firmware/.pioenvs/emontx_deploy/firmware.hex
skip_cleanup: true
overwrite: true
on:
repo: openenergymonitor/emontx3
all_branches: true
condition: $TRAVIS_TAG =~ ^[0-9]+\.[0-9]+\.[0-9]+$
skip_cleanup: true
provider: releases
overwrite: true
api_key:
secure: M3kEH8npkpyV3sKSEIho+ARh5nXlNMBjSWpMeqGJXZ89w1S3Lqpy7HPEmVeWvdFdyNR0COEqYklYihG9pVQLa+20NTskZTB3WHfCwLkp81mX9eUtPvuC1UybPxVOj1b+9U9E8cmbeFBJZuxCrEfLzMu/O0bkjDY+MlBEk+sfHdqVLrvQbJgDLPZ5SSD2AuL33QVMNsX5KCMj/4Z+sYKgtS9QackGksblrEhGFTJY6sgxXsBcFUA2hLR03qb9fxfmf1CG1yI4PXy8cMabUHlwg35Wn/Wu3qzk5A5wKKkwlcP8g30+HJ/yw9rtxu/af8zRNIDUgaL1m4H9ekDCULFwmwEHgjXEXeHmMAahEwQsQhGNVzdeqrvGIMdl1A6PgThVQu1mPV5wjHdItXzQsFbpeDdCKPl9lNCCBFyXdPdKqCNBRhp3DlZItqgKDUUD1GpZ6GmOTUDbm8rNpLG5rn41ONDizYde3t8JevwTYB80bE6avLO6e4FnMdUSVV5Z7wPRRSzKR7n/PuRaKtrZlitx5MR7dGf6G1OyF5MybBIOvnGnKBxanbzXcWEREOv501grRezPVFQg+/bLzxIVcaXWOt+yMHrq50a6Dltua2IF8AwY0jmoCPlGcHrsr/Si8rq7bmjwErjxQVxi6tuFhKD5XuY1MHqyQ7wKqilh4yqlzto=
file: "firmware/.pioenvs/emontx_deploy/firmware.hex"
## Setup auto depoly .hex on release tag
# sudo gem install travis
# cd into repo
# $ travis setup releases
# folow prompts..depoly section will be populated
all_branches: true

0 comments on commit c4fcc05

Please sign in to comment.