From d7a0b5938d80a0331bdb800093142c870472cc69 Mon Sep 17 00:00:00 2001 From: Abhishek Kumar Date: Sat, 28 Sep 2024 17:34:40 +0530 Subject: [PATCH] add cicd --- .github/workflows/cicd.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/cicd.yml diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml new file mode 100644 index 0000000..c585327 --- /dev/null +++ b/.github/workflows/cicd.yml @@ -0,0 +1,22 @@ +name: Deploy to Netlify + +on: + push: + branches: + - main + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Set up Node.js + uses: actions/setup-node@v2 + with: + node-version: "18" + + - name: Install dependencies + run: npm install