File tree Expand file tree Collapse file tree 1 file changed +16
-6
lines changed Expand file tree Collapse file tree 1 file changed +16
-6
lines changed Original file line number Diff line number Diff line change @@ -2,13 +2,23 @@ name: CD
22
33on :
44 release :
5- branches : [ " main" ]
6- type : released
5+ branches : [main]
6+ types : [published]
77
88jobs :
99 deploy :
10- runs-on : self-hosted
10+ runs-on : [self-hosted, linux, x64, prod]
11+ environment : Production
1112 steps :
12- - uses : actions/checkout@v4
13- - name : deploy
14- run : bash ./deploy/prod/deploy.sh
13+ - uses : actions/checkout@v4
14+
15+ - name : add secrets
16+ run : echo ${{ secrets.CONFIG }} > deploy/prod/ttt/secrets.yaml
17+
18+ - name : deploy
19+ run : bash ./deploy/prod/deploy.sh
20+ env :
21+ REDIS_PASSWORD : ${{ secrets.REDIS_PASSWORD }}
22+
23+ POSTGRES_TTT_PASSWORD : ${{ secrets.POSTGRES_TTT_PASSWORD }}
24+ POSTGRES_REPLICA_PASSWORD : ${{ secrets.POSTGRES_REPLICA_PASSWORD }}
You can’t perform that action at this time.
0 commit comments