@@ -110,40 +110,40 @@ jobs:
110
110
pip3 install requests
111
111
python3 scripts/smoke-test.py test-api.novastack.org
112
112
113
- # deploy-prod:
114
- # name: Deploy Prod
115
- # runs-on: ubuntu-latest
116
- # needs: [ smoke-test-staging ]
117
- #
118
- # steps:
119
- # - name: Check out the codebase.
120
- # uses: actions/checkout@v2
121
- #
122
- # - name: Run playbook
123
- # uses: dawidd6/action-ansible-playbook@v2
124
- # with:
125
- # playbook: provision_vps.yml
126
- # directory: ./ansible
127
- # key: ${{secrets.ANSIBLE_PRIVATE_KEY}}
128
- # vault_password: ${{secrets.ANSIBLE_VAULT_PASS}}
129
- # options: |
130
- # --inventory prod.inventory
131
- # --verbose
132
- #
133
- # smoke-test-prod:
134
- # name: Smoke Test Prod
135
- # runs-on: ubuntu-latest
136
- # needs: [ deploy-prod ]
137
- #
138
- # steps:
139
- # - uses: actions/checkout@v3
140
- #
141
- # - name: Uses Python 3.11
142
- # uses: actions/setup-python@v3
143
- # with:
144
- # python-version: '3.11.0-alpha.1'
145
- #
146
- # - name: Smoke Test
147
- # run: |
148
- # pip3 install requests
149
- # python3 scripts/smoke-test.py api.hugin.chat
113
+ deploy-prod :
114
+ name : Deploy Prod
115
+ runs-on : ubuntu-latest
116
+ needs : [ smoke-test-staging ]
117
+
118
+ steps :
119
+ - name : Check out the codebase.
120
+ uses : actions/checkout@v2
121
+
122
+ - name : Run playbook
123
+ uses : dawidd6/action-ansible-playbook@v2
124
+ with :
125
+ playbook : provision_vps.yml
126
+ directory : ./ansible
127
+ key : ${{secrets.ANSIBLE_PRIVATE_KEY}}
128
+ vault_password : ${{secrets.ANSIBLE_VAULT_PASS}}
129
+ options : |
130
+ --inventory prod.inventory
131
+ --verbose
132
+
133
+ smoke-test-prod :
134
+ name : Smoke Test Prod
135
+ runs-on : ubuntu-latest
136
+ needs : [ deploy-prod ]
137
+
138
+ steps :
139
+ - uses : actions/checkout@v3
140
+
141
+ - name : Uses Python 3.11
142
+ uses : actions/setup-python@v3
143
+ with :
144
+ python-version : ' 3.11.0-alpha.1'
145
+
146
+ - name : Smoke Test
147
+ run : |
148
+ pip3 install requests
149
+ python3 scripts/smoke-test.py api.hugin.chat
0 commit comments