atari-legend / legacy

Source code for the legacy AtariLegend site (Still used for the CPANEL)
https://legacy.atarilegend.com/
GNU General Public License v3.0
3 stars 0 forks source link

Attempt to fix auto-deploy again #674

Closed nguillaumin closed 5 years ago

nguillaumin commented 5 years ago

The BRANCH value will vary depending if the build is done as part of a pull request or not. If it is, it will contain the name of the target branch, which will be development, and will trigger a deploy...

Look also at HEAD_BRANCH which contains the name of the source branch on pull requests

Also moved the logic into a script, because Shippable doesn't support testing values within the YAML file very well: If the test exists with a non-zero code this is considered an error, and attempting to chain it with || exit 0 doesn't work and fail the build too

nguillaumin commented 5 years ago

Ok, this time hopefully it's good. Shippable sucks :cry: we should try to make progress on open sourcing the code so that we can use better tools like Travis CI.