mirror of
https://github.com/Refactorio/RedMew.git
synced 2024-12-12 10:04:40 +02:00
Skip luacheck for API builds, fix condition
This commit is contained in:
parent
d337332116
commit
7c4f3f9e75
@ -14,7 +14,7 @@ before_install:
|
||||
install:
|
||||
- luarocks install luacheck
|
||||
script:
|
||||
- "if [[ $TRAVIS_EVENT_TYPE != 'cron' ]]; then luacheck .; fi"
|
||||
- "if [[ $TRAVIS_EVENT_TYPE != 'cron' ] || [ $TRAVIS_EVENT_TYPE != 'api' ]]; then luacheck .; fi"
|
||||
before_deploy:
|
||||
- git config --local user.name "$github_user_name"
|
||||
- git config --local user.email "$github_user_email"
|
||||
@ -30,7 +30,7 @@ before_deploy:
|
||||
- ./.travis/release_builder.sh
|
||||
deploy:
|
||||
on:
|
||||
condition: $TRAVIS_EVENT_TYPE = cron or $TRAVIS_EVENT_TYPE = api
|
||||
condition: $TRAVIS_EVENT_TYPE = cron
|
||||
repo: Refactorio/RedMew
|
||||
branch: develop
|
||||
provider: releases
|
||||
|
Loading…
Reference in New Issue
Block a user