File tree 1 file changed +25
-1
lines changed
1 file changed +25
-1
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,31 @@ jobs:
118
118
docker tag opentogethertube dyc3/opentogethertube:latest
119
119
- name : Push to Dockerhub
120
120
run : docker push dyc3/opentogethertube:latest
121
- deploy-fly :
121
+
122
+ deploy-fly-staging-monolith :
123
+ runs-on : ubuntu-latest
124
+ name : Deploy on fly.io
125
+ if : github.event_name == 'push' && github.ref == 'refs/heads/master'
126
+ needs : [test, lint]
127
+ steps :
128
+ - uses : actions/checkout@v3
129
+ - uses : superfly/flyctl-actions/setup-flyctl@master
130
+ - run : flyctl deploy --config deploy/fly.staging.monolith.toml --remote-only
131
+ env :
132
+ FLY_API_TOKEN : ${{ secrets.FLY_API_TOKEN }}
133
+ deploy-fly-staging-balancer :
134
+ runs-on : ubuntu-latest
135
+ name : Deploy on fly.io
136
+ if : github.event_name == 'push' && github.ref == 'refs/heads/master'
137
+ needs : [test, lint]
138
+ steps :
139
+ - uses : actions/checkout@v3
140
+ - uses : superfly/flyctl-actions/setup-flyctl@master
141
+ - run : flyctl deploy --config deploy/fly.staging.balancer.toml --remote-only
142
+ env :
143
+ FLY_API_TOKEN : ${{ secrets.FLY_API_TOKEN }}
144
+
145
+ deploy-fly-prod :
122
146
runs-on : ubuntu-latest
123
147
name : Deploy on fly.io
124
148
if : github.event_name == 'push' && github.ref == 'refs/heads/master'
You can’t perform that action at this time.
0 commit comments