- Do you have an Github account ? If not create one.
- Install required tools
- Latest Git Client
- gpg tools
# Ubuntu
sudo apt-get install gpa seahorse
# MacOS with https://brew.sh/
| # This is a basic workflow to help you get started with Actions | |
| name: CD Internal-Lane | |
| # Controls when the action will run. Triggers the workflow on push or pull request | |
| # events but only for the master branch | |
| on: | |
| push: | |
| tags: | |
| - "internal-v*.*.*" # on every version tag will build a new android artifact example: v3.1.2+6 | |
| jobs: |
# Ubuntu
sudo apt-get install gpa seahorse
# MacOS with https://brew.sh/
| # The upstream module is the link between Node.js and Nginx. | |
| # Upstream is used for proxying requests to other servers. | |
| # All requests for / get distributed between any of the servers listed. | |
| upstream helloworld { | |
| # Set up multiple Node.js webservers for load balancing. | |
| # max_fails refers to number of failed attempts | |
| # before server is considered inactive. | |
| # weight priorities traffic to server. Ex. weight=2 will recieve | |
| # twice as much traffic as server with weight=1 | |
| server <your server ip>:3000 max_fails=0 fail_timeout=10s weight=1; |