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 77d1ba8 commit 2f64513Copy full SHA for 2f64513
.github/workflows/cd.yml
@@ -43,13 +43,13 @@ jobs:
43
steps:
44
- name: Checkout
45
uses: actions/checkout@v4
46
- - name: Add ssh-key
47
- run: |
48
- ssh-add - <<< ${{ secrets.DEPLOYMENT_SSH_KEY }}
49
- name: Create Context
50
51
- docker context create shapez-vortex --docker host=ssh://root@${{ secrets.DEPLOYMENT_HOST }}
52
- docker context use shapez-vortex
+ uses: amirmarmul/docker-context-ssh-action@v2.1.3
+ with:
+ ssh-host: ${{ secrets.DEPLOYMENT_SSH_HOST }}
+ ssh-username: ${{ secrets.DEPLOYMENT_SSH_USER }}
+ ssh-private-key: ${{ secrets.DEPLOYMENT_SSH_KEY }}
+ context-use: true
53
- name: Deploy
54
working-directory: ./resources/deployment
55
run: |
0 commit comments