thuguerre / WebSiteQuickAddingForTodoist

This unofficial Todoist browser extension allows its user to add its current web site's URL as a new Task in his Todoist Inbox, just by clicking on a single button.
MIT License
2 stars 0 forks source link

Modify "Auto Deploy API" GitHub Action to deploy only on master.push #40

Closed thuguerre closed 4 years ago

thuguerre commented 4 years ago

The current "Auto Deploy API" GitHub Action, which is responsible for compiling and deploying the Java part, is executed on each push to the GitHub repo, even on branches. However, it tries to deploy the API even if it comes from a non-completed version from a branch. It should only deploy on GCP from a commit on master.

And only execute Junit test on branches ?

thuguerre commented 4 years ago

Modification done in PR #49 : deployment on TEST environment is done from every branch however the deployment on PROD env is done from master only. We will see later, with usage, if we have not to deploy on TEST env from every branches