Update check.yml
deploy config / Explore-Gitea-Actions (push) Successful in 7s Details

This commit is contained in:
Tom 2024-08-07 22:05:47 +02:00
parent 493b4bab55
commit 0d02958d57
1 changed files with 1 additions and 1 deletions

View File

@ -7,4 +7,4 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- run: echo ${{ GITEAS_SSH_PRIVATE }} > ~/.ssh/id_ed25519 - run: echo ${{ GITEAS_SSH_PRIVATE }} > ~/.ssh/id_ed25519
- run: ssh -o StrictHostKeyChecking=no -i ~/.ssh/id_ed25519 root@${{ secrets.NGINX_HOST }} "whoami" - run: sshpass -p${{ NGINX_PASSWORD }} ssh -oStrictHostKeyChecking=no root@${{ secrets.NGINX_HOST }} "whoami"