Skip to content

Commit

Permalink
Update cd-branch.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Chengming-Li authored Apr 12, 2024
1 parent e4719df commit 38acecf
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/cd-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,18 @@ name:
Deploy to Dev

on:
pull_request:
types: [opened, synchronize, reopened]
workflow_run:
workflows:
- "Build Frontend"
- "Build Backend"
types:
- completed
repository_dispatch:
types: [trigger-workflow]

jobs:
deploy:
runs-on: ubuntu-latest

steps:
- name: Echo Params
run: |
echo "Subdomain: ${{ github.event.client_payload.param1 }}"
echo "Time to Live: ${{ github.event.client_payload.param2 }}"
- name: executing remote ssh commands using ssh key
uses: appleboy/[email protected]
with:
Expand Down

0 comments on commit 38acecf

Please sign in to comment.