File tree Expand file tree Collapse file tree 2 files changed +38
-21
lines changed
Expand file tree Collapse file tree 2 files changed +38
-21
lines changed Original file line number Diff line number Diff line change 1- name : Node.js CI
2-
1+ name : Fly Deploy
32on : [push]
4-
3+ env :
4+ FLY_API_TOKEN : ${{ secrets.FLY_API_TOKEN }}
55jobs :
6- build :
7-
8- runs-on : ubuntu-latest
9-
10- strategy :
11- matrix :
12- node-version : [14.x]
13-
14- steps :
15- - uses : actions/checkout@v2
16- - name : Use Node.js ${{ matrix.node-version }}
17- uses : actions/setup-node@v1
18- with :
19- node-version : ${{ matrix.node-version }}
20- - run : npm install
21- - run : npm start
22- env :
23- CI : true
6+ deploy :
7+ name : Deploy app
8+ runs-on : ubuntu-latest
9+ steps :
10+ - uses : actions/checkout@v2
11+ - uses : superfly/flyctl-actions@1.1
12+ with :
13+ args : " deploy"
Original file line number Diff line number Diff line change 1+ # fly.toml file generated for webmc on 2020-11-09T09:03:10+01:00
2+
3+ app = " webmc"
4+
5+ [build ]
6+ builtin = " node"
7+
8+
9+ [[services ]]
10+ internal_port = 8080
11+ protocol = " tcp"
12+
13+ [services .concurrency ]
14+ hard_limit = 25
15+ soft_limit = 20
16+
17+ [[services .ports ]]
18+ handlers = [" http" ]
19+ port = " 80"
20+
21+ [[services .ports ]]
22+ handlers = [" tls" , " http" ]
23+ port = " 443"
24+
25+ [[services .tcp_checks ]]
26+ interval = 10000
27+ timeout = 2000
You can’t perform that action at this time.
0 commit comments