no more root dir
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
7d06f071aa
commit
5a150f0ad1
1 changed files with 3 additions and 3 deletions
|
|
@ -36,8 +36,8 @@ jobs:
|
|||
env:
|
||||
SSH_KEY: ${{ secrets.PROXY_SSH_KEY }}
|
||||
run: mkdir -p ~/.ssh
|
||||
echo "$SSH_KEY" > /root/.ssh/id_ed25519
|
||||
chmod 600 /root/.ssh/id_ed25519
|
||||
echo "$SSH_KEY" > ~/.ssh/id_ed25519
|
||||
chmod 600 ~/.ssh/id_ed25519
|
||||
|
||||
# Fanculo i pacchetti già pronti per usare ssh su questi yml
|
||||
# (tieni a mente che con questa sola copia la repo su proxi rimane outdated perché viene fatta la copia direttamente dentro /var/www senza toccare ~/resources)
|
||||
|
|
@ -46,6 +46,6 @@ jobs:
|
|||
SSH_USER: ${{ secrets.PROXY_USER }}
|
||||
SSH_HOST: ${{ secrets.PROXY_HOST }}
|
||||
run: |
|
||||
scp -i /root/.ssh/id_ed25519 \
|
||||
scp -i ~/.ssh/id_ed25519 \
|
||||
-o StrictHostKeyChecking=no \
|
||||
-r public/* $SSH_USER@$SSH_HOST:/var/www/miniera.hackinpovo.it/html/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue