File tree Expand file tree Collapse file tree 3 files changed +36
-5
lines changed
Expand file tree Collapse file tree 3 files changed +36
-5
lines changed Original file line number Diff line number Diff line change 1- name : Deploy to Server
1+ name : Deploy to Production Server
22
33on :
44 push :
55 branches :
6- - develop
6+ - main
77
88jobs :
99 deploy :
2525
2626 - name : Push to Server
2727 run : |
28- git remote add dokku dokku@70.34.210.129:unitap-dev
28+ git remote add dokku dokku@${{ secrets.SSH_IP_ADDRESS }}:${{ secrets.DOKKU_PROJECT }}
2929 git fetch --unshallow origin
30- git push dokku develop -f
30+ git push dokku main -f
Original file line number Diff line number Diff line change 11worker : celery -A brightIDfaucet worker -B
2+ beat : celery -A brightIDfaucet beat -l INFO
23release : python manage.py migrate
3- web : gunicorn brightIDfaucet.wsgi --workers 4 --threads 2
4+ web : gunicorn brightIDfaucet.wsgi --workers 2 --threads 2
Original file line number Diff line number Diff line change 1+ {
2+ "formation" : {
3+ "release" : {
4+ "quantity" : 1
5+ },
6+ "beat" : {
7+ "quantity" : 1
8+ },
9+ "worker" : {
10+ "quantity" : 1
11+ },
12+ "web" : {
13+ "quantity" : 1
14+ }
15+ },
16+ "healthchecks" : {
17+ "web" : [
18+ {
19+ "type" : " startup" ,
20+ "name" : " web check" ,
21+ "description" : " Checking if the app responds to the healthcheck endpoint" ,
22+ "path" : " /pass/art/1" ,
23+ "attempts" : 10 ,
24+ "interval" : " 30s" ,
25+ "wait" : 10 ,
26+ "initialDelay" : 30
27+ }
28+ ]
29+ }
30+ }
You can’t perform that action at this time.
0 commit comments