Skip to content

Commit

Permalink
feat: submodule pipeline
Browse files Browse the repository at this point in the history
Signed-off-by: Yash Khare <[email protected]>
  • Loading branch information
khareyash05 committed Oct 22, 2024
1 parent 093e221 commit 301513d
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
submodules: recursive

- name: Install dependencies
run: npm install
Expand Down
25 changes: 25 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Deployment Workflow

on:
push:
branches:
- main
pull_request: # Trigger on pull requests
branches:
- main # Specify the target branch for the pull request

jobs:
deploy:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2
with:
submodules: recursive

- name: Install dependencies
run: npm install

- name: Build Next.js app
run: npm run build

0 comments on commit 301513d

Please sign in to comment.