Skip to content

Commit

Permalink
fix: ci cd
Browse files Browse the repository at this point in the history
  • Loading branch information
dewanakl committed Nov 24, 2024
1 parent d1efca1 commit bb4d6fc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@ jobs:
exit 0
fi
- name: Install Netlify CLI
run: npm install -g netlify-cli

- name: Deploy to Netlify
run: |
npm install netlify-cli
netlify link --site ${{ secrets.NETLIFY_SITE_ID }}
netlify deploy --prod --dir=/ --auth=$NETLIFY_AUTH_TOKEN --silent
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
run: netlify deploy --prod --dir=/ --auth=$NETLIFY_AUTH_TOKEN --site=$NETLIFY_SITE_ID

0 comments on commit bb4d6fc

Please sign in to comment.