Skip to content

Commit 0fe4a53

Browse files
Merge pull request #3 from hassaanarshad/add-cd-workflow
Add workflow for CD
2 parents b1c631a + b34ad90 commit 0fe4a53

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
2+
3+
on:
4+
push:
5+
branches: [main]
6+
7+
jobs:
8+
Deploy:
9+
name: Deploy app
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout code
14+
uses: actions/checkout@v4
15+
16+
- name: Set up Go toolchain
17+
uses: actions/setup-go@v5
18+
with:
19+
go-version: "1.25.1"
20+
21+
- name: Build app using "buildprod" script
22+
run: ./scripts/buildprod.sh

0 commit comments

Comments
 (0)