mirror of
https://github.com/langgenius/dify.git
synced 2026-04-29 12:37:20 +08:00
revert deploy-dev.yml
This commit is contained in:
parent
81116a679d
commit
51e230309b
15
.github/workflows/deploy-dev.yml
vendored
15
.github/workflows/deploy-dev.yml
vendored
@ -4,7 +4,7 @@ on:
|
|||||||
workflow_run:
|
workflow_run:
|
||||||
workflows: ["Build and Push API & Web"]
|
workflows: ["Build and Push API & Web"]
|
||||||
branches:
|
branches:
|
||||||
- "dev/plugin-deploy"
|
- "deploy/dev"
|
||||||
types:
|
types:
|
||||||
- completed
|
- completed
|
||||||
|
|
||||||
@ -14,8 +14,11 @@ jobs:
|
|||||||
if: |
|
if: |
|
||||||
github.event.workflow_run.conclusion == 'success'
|
github.event.workflow_run.conclusion == 'success'
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Deploy to server
|
||||||
uses: actions/checkout@v4
|
uses: appleboy/ssh-action@v0.1.8
|
||||||
- name: debug context var
|
with:
|
||||||
run: |
|
host: ${{ secrets.SSH_HOST }}
|
||||||
echo "Commit ID: ${{ github.sha }}"
|
username: ${{ secrets.SSH_USER }}
|
||||||
|
key: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||||
|
script: |
|
||||||
|
${{ vars.SSH_SCRIPT || secrets.SSH_SCRIPT }}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user