From 0aa2e23e6324db3018def5f3415c74c3d7def91e Mon Sep 17 00:00:00 2001 From: henry yo Date: Sat, 14 Mar 2026 20:23:10 +0800 Subject: [PATCH] change deploy.yaml ver 7. --- .gitea/workflows/deploy.yaml | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 481b012..f123dcf 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -7,14 +7,8 @@ jobs: redeploy: runs-on: ubuntu-latest steps: - - name: Checkout - uses: actions/checkout@v3 - - name: Deploy via SSH + - name: Deploy run: | - echo "${{ secrets.ORACLE_SSH_KEY }}" > /tmp/deploy_key - chmod 600 /tmp/deploy_key - ssh -i /tmp/deploy_key -o StrictHostKeyChecking=no ubuntu@64.110.81.100 " - cd /home/ubuntu/apps/linebot_finance && - git pull && - docker compose up -d --build - " \ No newline at end of file + cd /home/ubuntu/apps/linebot_finance + git pull + docker compose up -d --build \ No newline at end of file