Skip to content

Commit df856ed

Browse files
Merge pull request #51 from christianncode/feature/AddRepositoryWorkflow
feat: add workflow for repository dispatch deployment
2 parents 285582d + 77b3bad commit df856ed

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Workflow Repository Dispatch
2+
permissions:
3+
contents: read
4+
on:
5+
repository_dispatch:
6+
types: [deploy]
7+
jobs:
8+
deploy-app:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Deploy Application
12+
run: |
13+
echo "Deploying application..."
14+
echo "payload: ${{ github.event.client_payload }}"
15+
echo "action: ${{ github.event.action }}"
16+
echo "repository: ${{ github.event.repository }}"
17+
echo "sender: ${{ github.event.sender }}"
18+
echo "branch: ${{ github.event.branch }}"

0 commit comments

Comments
 (0)