File tree 3 files changed +28
-2
lines changed
3 files changed +28
-2
lines changed Original file line number Diff line number Diff line change
1
+ name : Fly Deploy
2
+ on : [push]
3
+ env :
4
+ FLY_API_TOKEN : ${{ secrets.FLY_API_TOKEN }}
5
+ jobs :
6
+ deploy :
7
+ name : Deploy app
8
+ runs-on : ubuntu-latest
9
+ steps :
10
+ - uses : actions/checkout@v2
11
+ - uses : superfly/flyctl-actions/setup-flyctl@master
12
+ - run : flyctl deploy --remote-only
Original file line number Diff line number Diff line change 1
- FROM python:3.9-slim as py
1
+ FROM python:3.9-alpine as py
2
2
3
3
FROM py as build
4
4
5
- RUN apt update && apt install -y g++
5
+ RUN apk add --no-cache build-base
6
6
COPY requirements.txt /
7
7
RUN pip install --prefix=/inst -U -r /requirements.txt
8
8
Original file line number Diff line number Diff line change
1
+ # fly.toml file generated for msc-modmail on 2022-08-26T00:51:48+01:00
2
+
3
+ app = " msc-modmail"
4
+ kill_signal = " SIGINT"
5
+ kill_timeout = 5
6
+
7
+ [env ]
8
+
9
+ [experimental ]
10
+ allowed_public_ports = []
11
+ auto_rollback = true
12
+ cmd = []
13
+ entrypoint = []
14
+ exec = []
You can’t perform that action at this time.
0 commit comments