Fix branch spec

This commit is contained in:
ChrisAdderley 2019-03-04 14:36:43 -08:00
parent 72cb728138
commit 93a793795f

View File

@ -21,12 +21,16 @@ deploy:
script: python build-deploy/src/deploy.py --f "Distribution/Restock/.mod_data.yml" # Deploy RS package to spacedock, curse, github
skip_cleanup: true
on:
condition: $TRAVIS_BRANCH = prod
branches:
only:
- prod
- provider: script
script: python build-deploy/src/deploy.py --f "Distribution/RestockPlus/.mod_data.yml" # Deploy RS+ package to spacedock, curse, github
skip_cleanup: true
on:
condition: $TRAVIS_BRANCH = prod
branches:
only:
- prod
- provider: s3 # releases to S3
access_key_id: $AWS_ACCESS_KEY_ID
secret_access_key: $AWS_SECRET_ACCESS_KEY
@ -37,7 +41,9 @@ deploy:
region: us-east-2
upload-dir: restock
on:
condition: $TRAVIS_BRANCH = prod
branches:
only:
- prod
- provider: s3 # releases to S3
access_key_id: $AWS_ACCESS_KEY_ID
secret_access_key: $AWS_SECRET_ACCESS_KEY
@ -48,4 +54,6 @@ deploy:
region: us-east-2
upload-dir: restockplus
on:
condition: $TRAVIS_BRANCH = prod
branches:
only:
- prod