mirror of
https://github.com/Refactorio/RedMew.git
synced 2025-02-21 19:20:07 +02:00
Exempt API builds from LuaCheck, have API builds deploy
This commit is contained in:
parent
52ed2d8cce
commit
1721cd3cb5
@ -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
|
||||
condition: $TRAVIS_EVENT_TYPE = cron || $TRAVIS_EVENT_TYPE = api
|
||||
repo: Refactorio/RedMew
|
||||
branch: develop
|
||||
provider: releases
|
||||
|
Loading…
x
Reference in New Issue
Block a user