Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

chore(workflows): update deployment configurations for trigger dev (#26753)

Maries275a0f9ddd04
diff --git a/.github/workflows/build-push.yml b/.github/workflows/build-push.yml
index 24a9da44002..f7f464a6010 100644
--- a/.github/workflows/build-push.yml
+++ b/.github/workflows/build-push.yml
@@ -4,8 +4,7 @@ on:
push:
branches:
- "main"
- - "deploy/dev"
- - "deploy/enterprise"
+ - "deploy/**"
- "build/**"
- "release/e-*"
- "hotfix/**"
diff --git a/.github/workflows/deploy-rag-dev.yml b/.github/workflows/deploy-trigger-dev.yml
similarity index 75%
rename from .github/workflows/deploy-rag-dev.yml
rename to .github/workflows/deploy-trigger-dev.yml
index 86265aad6df..2d9a904fc57 100644
--- a/.github/workflows/deploy-rag-dev.yml
+++ b/.github/workflows/deploy-trigger-dev.yml
@@ -1,4 +1,4 @@
-name: Deploy RAG Dev
+name: Deploy Trigger Dev
permissions:
contents: read
@@ -7,7 +7,7 @@ on:
workflow_run:
workflows: ["Build and Push API & Web"]
branches:
- - "deploy/rag-dev"
+ - "deploy/trigger-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/rag-dev'
+ github.event.workflow_run.head_branch == 'deploy/trigger-dev'
steps:
- name: Deploy to server
uses: appleboy/[email protected]
with:
- host: ${{ secrets.RAG_SSH_HOST }}
+ host: ${{ secrets.TRIGGER_SSH_HOST }}
username: ${{ secrets.SSH_USER }}
key: ${{ secrets.SSH_PRIVATE_KEY }}
script: |