diff --git a/.github/workflows/test2.yaml b/.github/workflows/test2.yaml index a9b8a29..5abc109 100644 --- a/.github/workflows/test2.yaml +++ b/.github/workflows/test2.yaml @@ -68,7 +68,7 @@ jobs: env: PASSWORD_ACCESS: true USER_NAME: password - POSTGRES_DB: linuxserver.io + USER_PASSWORD: linuxserver.io steps: - name: Checkout code @@ -87,3 +87,13 @@ jobs: echo "SSHD IP: $SSHD_IP" # 在這裡運行你的測試命令,並使用獲取到的 IP 地址 echo "Running tests..." + + - name: executing remote ssh commands using password (1.0.3) + uses: appleboy/ssh-action@v1.0.3 + if: always() + with: + host: ${{ steps.sshd.outputs.sshd_ip }} + username: linuxserver.io + password: password + port: 2222 + script: whoami