| runs-on: ubuntu-latest | runs-on: ubuntu-latest | ||||
| if: | | if: | | ||||
| github.event.workflow_run.conclusion == 'success' && | github.event.workflow_run.conclusion == 'success' && | ||||
| github.event.workflow_run.head_branch == 'deploy/rag-dev' | |||||
| github.event.workflow_run.head_branch == 'deploy/dev' | |||||
| steps: | steps: | ||||
| - name: Deploy to server | - name: Deploy to server | ||||
| uses: appleboy/ssh-action@v0.1.8 | uses: appleboy/ssh-action@v0.1.8 |