Set host to "docker.host"
Some checks failed
/ build (push) Has been cancelled

This commit is contained in:
Michel 2024-11-07 18:33:38 +01:00
parent a11c915cca
commit ef8651c232

View file

@ -12,10 +12,12 @@ jobs:
- name: Update Service - name: Update Service
env: env:
SSH_PRIVATE_KEY: ${{ secrets.SSH_KEY }} SSH_PRIVATE_KEY: ${{ secrets.SSH_KEY }}
HOST: 'home' HOST: 'docker.host'
USERNAME: 'michel' USERNAME: 'michel'
TARGETDIR: '/mnt/drive/containers/gamesshop' TARGETDIR: '/mnt/drive/containers/gamesshop'
run: | run: |
ping ${HOST}
mkdir -p ~/.ssh/ mkdir -p ~/.ssh/
echo "$SSH_PRIVATE_KEY" | tr -d '\r' > ~/.ssh/id_rsa echo "$SSH_PRIVATE_KEY" | tr -d '\r' > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa chmod 600 ~/.ssh/id_rsa