File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed
Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change 9393 teleport_token : ${{ env.APP }}
9494 teleport_app_name : " argocd-stg"
9595 argocd_auth_token : ${{ secrets.ARGOCD_AUTH_TOKEN }}
96+ deploy-prod :
97+ name : Deploy Production
98+ runs-on : ubuntu-latest
99+ if : ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
100+ needs : [set-variables, docker-build, deploy-stg]
101+ permissions :
102+ contents : " read"
103+ id-token : " write"
104+ environment : stg
105+ env :
106+ VERSION : ${{ needs.set-variables.outputs.VERSION }}
107+ ARGOCD_SERVER : " argocd-prod.teleport.parity.io"
108+ steps :
109+ - name : Deploy to ArgoCD
110+ uses : paritytech/argocd-deployment-action@main
111+ with :
112+ environment : " parity-prod"
113+ tag : " ${{ env.VERSION }}"
114+ app_name : " ${{ env.APP }}"
115+ app_packages : " frontend,backend"
116+ argocd_server : ${{ env.ARGOCD_SERVER }}
117+ teleport_token : ${{ env.APP }}
118+ teleport_app_name : " argocd-prod"
119+ argocd_auth_token : ${{ secrets.ARGOCD_AUTH_TOKEN }}
You can’t perform that action at this time.
0 commit comments