Skip to content

Commit f42a6d9

Browse files
update env vars for new deploy
1 parent 81aaae0 commit f42a6d9

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/publish.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ on:
88
env:
99
REGISTRY: ghcr.io
1010
DOCKER_STACK_NAME: mixdrinks
11-
DEPLOY_USER: deploy
12-
HOST: 167.235.52.168
11+
DEPLOY_USER: root
12+
HOST: ${{ vars.HOST }}
13+
ROOT_SSH_PRIVATE_KEY: ${{ secrets.ROOT_SSH_PRIVATE_KEY }}
1314

1415
jobs:
1516
build-and-push-image:
@@ -66,5 +67,5 @@ jobs:
6667
file: docker-stack.yaml
6768
host: ${{ env.HOST }}
6869
user: ${{ env.DEPLOY_USER }}
69-
ssh_key: ${{ secrets.DEPLOY_SSH_PRIVATE_KEY }}
70+
ssh_key: ${{ env.ROOT_SSH_PRIVATE_KEY }}
7071
env_file: ./envfile

0 commit comments

Comments
 (0)