usiamo il secret della chiave per i permessi
Some checks failed
Updates the graph by copying the updated files in the right directory / build-and-deploy (push) Failing after 3s
Some checks failed
Updates the graph by copying the updated files in the right directory / build-and-deploy (push) Failing after 3s
This commit is contained in:
parent
409d1855f9
commit
5e6fcb3e84
1 changed files with 4 additions and 0 deletions
|
|
@ -39,6 +39,10 @@ jobs:
|
||||||
SSH_USER: ${{ secrets.PROXY_USER }}
|
SSH_USER: ${{ secrets.PROXY_USER }}
|
||||||
SSH_HOST: ${{ secrets.PROXY_HOST }}
|
SSH_HOST: ${{ secrets.PROXY_HOST }}
|
||||||
run: |
|
run: |
|
||||||
|
mkdir -p ~/.ssh
|
||||||
|
echo "$SSH_KEY" > ~/.ssh/id_ed25519
|
||||||
|
chmod 600 ~/.ssh/id_ed25519
|
||||||
|
|
||||||
scp -i /root/.ssh/id_ed25519 \
|
scp -i /root/.ssh/id_ed25519 \
|
||||||
-o StrictHostKeyChecking=no \
|
-o StrictHostKeyChecking=no \
|
||||||
-r public/* $SSH_USER@$SSH_HOST:/var/www/miniera.hackinpovo.it/html/
|
-r public/* $SSH_USER@$SSH_HOST:/var/www/miniera.hackinpovo.it/html/
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue