Skip to content

Commit 6327995

Browse files
authored
Create cd.yml
1 parent bf3bd79 commit 6327995

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/cd.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: CD Pipeline
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
paths:
7+
- ".github/workflows/cd.yml"
8+
- "deploy/**"
9+
- "frontend/**"
10+
- "backend/**"
11+
12+
permissions:
13+
contents: read
14+
15+
jobs:
16+
deploy:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: actions/checkout@v4
20+
- name: Deploy (demo)
21+
run: echo "Deploying to Azure... (demo)"
22+
# Replace with real az/kubectl commands if you choose to do a live deploy

0 commit comments

Comments
 (0)