This commit is contained in:
parent
a11c915cca
commit
ef8651c232
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue