We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 81aaae0 commit f42a6d9Copy full SHA for f42a6d9
1 file changed
.github/workflows/publish.yml
@@ -8,8 +8,9 @@ on:
8
env:
9
REGISTRY: ghcr.io
10
DOCKER_STACK_NAME: mixdrinks
11
- DEPLOY_USER: deploy
12
- HOST: 167.235.52.168
+ DEPLOY_USER: root
+ HOST: ${{ vars.HOST }}
13
+ ROOT_SSH_PRIVATE_KEY: ${{ secrets.ROOT_SSH_PRIVATE_KEY }}
14
15
jobs:
16
build-and-push-image:
@@ -66,5 +67,5 @@ jobs:
66
67
file: docker-stack.yaml
68
host: ${{ env.HOST }}
69
user: ${{ env.DEPLOY_USER }}
- ssh_key: ${{ secrets.DEPLOY_SSH_PRIVATE_KEY }}
70
+ ssh_key: ${{ env.ROOT_SSH_PRIVATE_KEY }}
71
env_file: ./envfile
0 commit comments