From 41030e246c862b52a67ae1bdb0f124aa1045855b Mon Sep 17 00:00:00 2001 From: wancat Date: Sat, 22 Jul 2023 16:38:51 +0800 Subject: [PATCH] Disable Tailscale and use SSH directly --- .github/workflows/ci_cd.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index 2a0c256..46e6ad1 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -31,16 +31,13 @@ jobs: runs-on: ubuntu-latest steps: - - name: Setup Tailscale - uses: tailscale/github-action@main - with: - authkey: ${{ secrets.TAILSCALE_AUTHKEY }} - - name: SSH into server and update service uses: appleboy/ssh-action@master with: host: ${{ secrets.SERVER_HOST }} + port: ${{ secrets.SERVER_PORT }} username: ${{ secrets.SERVER_USER }} + key: ${{ secrets.SERVER_SSH_KEY }} script: | cd ${{ secrets.SERVER_PATH }} docker compose pull