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.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
Feat/enteprise cd (#25485)
Xiyuan Chen34e55028aea9
diff --git a/.github/workflows/deploy-enterprise.yml b/.github/workflows/deploy-enterprise.ymlindex 98fa7c3b49b..7ef94f76226 100644--- a/.github/workflows/deploy-enterprise.yml+++ b/.github/workflows/deploy-enterprise.yml@@ -19,11 +19,23 @@ jobs:github.event.workflow_run.head_branch == 'deploy/enterprise'steps:- - name: Deploy to server- uses: appleboy/[email protected]- with:- host: ${{ secrets.ENTERPRISE_SSH_HOST }}- username: ${{ secrets.ENTERPRISE_SSH_USER }}- password: ${{ secrets.ENTERPRISE_SSH_PASSWORD }}- script: |- ${{ vars.ENTERPRISE_SSH_SCRIPT || secrets.ENTERPRISE_SSH_SCRIPT }}+ - name: trigger deployments+ env:+ DEV_ENV_ADDRS: ${{ vars.DEV_ENV_ADDRS }}+ DEPLOY_SECRET: ${{ secrets.DEPLOY_SECRET }}+ run: |+ IFS=',' read -ra ENDPOINTS <<< "$DEV_ENV_ADDRS"++ for ENDPOINT in "${ENDPOINTS[@]}"; do+ ENDPOINT=$(echo "$ENDPOINT" | xargs)++ BODY=$(cat <<EOF+ {+ "project": "dify-api",+ "tag": "deploy-enterprise"+ }+ EOF+ )+ API_SIGNATURE=$(echo -n "$BODY" | openssl dgst -sha256 -hmac "$DEPLOY_SECRET" | awk '{print "sha256="$2}')+ curl -X POST -H "Content-Type: application/json" -H "X-Hub-Signature-256: $API_SIGNATURE" -d "$BODY" "$ENDPOINT"+ done