Skip to content

Commit

Permalink
Netlify Deploy YML Added
Browse files Browse the repository at this point in the history
  • Loading branch information
adityadeshpande0 committed Jan 25, 2024
1 parent 435a943 commit 67dd204
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/netlify_deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Deploy to Netlify

on:
push:
branches:
- main # Change this to your main branch name if different

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Install Netlify CLI
run: npm install netlify-cli -g

- name: Deploy to Netlify
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
run: netlify deploy --prod

0 comments on commit 67dd204

Please sign in to comment.