We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d514007 commit f09ca19Copy full SHA for f09ca19
.github/workflows/build-nabla.yml
@@ -251,3 +251,19 @@ jobs:
251
publish_dir: .badge-public
252
keep_files: true
253
commit_message: "[CI] badges update"
254
+
255
+ deploy-production:
256
+ name: Deploy to production host
257
+ if: ${{ always() && github.ref == 'refs/heads/master' }}
258
+ needs: build-windows
259
+ runs-on: ubuntu-latest
260
261
+ steps:
262
+ - name: Pull latest images, re-run containers
263
+ uses: appleboy/ssh-action@v1
264
+ with:
265
+ host: ${{ secrets.CE_HOST }}
266
+ username: ${{ secrets.CE_USER }}
267
+ key: ${{ secrets.CE_KEY }}
268
+ script: |
269
+ powershell -NoLogo -NoProfile -ExecutionPolicy Bypass -NoExit -File C:\Scripts\startup-docker.ps1
0 commit comments