From 00d787a75bda0e42dd97acb639d61f22b6314975 Mon Sep 17 00:00:00 2001 From: Harry Date: Fri, 9 Jan 2026 13:11:37 +0800 Subject: [PATCH] feat(workflows): add deployment workflow for agent development - Created a new GitHub Actions workflow to automate deployment for the agent development branch. - Configured the workflow to trigger upon successful completion of the "Build and Push API & Web" workflow. - Implemented SSH deployment steps using appleboy/ssh-action for secure server updates. --- .../{deploy-trigger-dev.yml => deploy-agent-dev.yml} | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) rename .github/workflows/{deploy-trigger-dev.yml => deploy-agent-dev.yml} (75%) diff --git a/.github/workflows/deploy-trigger-dev.yml b/.github/workflows/deploy-agent-dev.yml similarity index 75% rename from .github/workflows/deploy-trigger-dev.yml rename to .github/workflows/deploy-agent-dev.yml index 2d9a904fc5..dff48b5510 100644 --- a/.github/workflows/deploy-trigger-dev.yml +++ b/.github/workflows/deploy-agent-dev.yml @@ -1,4 +1,4 @@ -name: Deploy Trigger Dev +name: Deploy Agent Dev permissions: contents: read @@ -7,7 +7,7 @@ on: workflow_run: workflows: ["Build and Push API & Web"] branches: - - "deploy/trigger-dev" + - "deploy/agent-dev" types: - completed @@ -16,12 +16,12 @@ jobs: runs-on: ubuntu-latest if: | github.event.workflow_run.conclusion == 'success' && - github.event.workflow_run.head_branch == 'deploy/trigger-dev' + github.event.workflow_run.head_branch == 'deploy/agent-dev' steps: - name: Deploy to server uses: appleboy/ssh-action@v0.1.8 with: - host: ${{ secrets.TRIGGER_SSH_HOST }} + host: ${{ secrets.AGENT_DEV_SSH_HOST }} username: ${{ secrets.SSH_USER }} key: ${{ secrets.SSH_PRIVATE_KEY }} script: |