File tree Expand file tree Collapse file tree 2 files changed +37
-1
lines changed
Expand file tree Collapse file tree 2 files changed +37
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Deploy to Netlify
2+
3+ on :
4+ push :
5+ branches :
6+ - main # Change to your branch name if needed
7+ pull_request :
8+
9+ jobs :
10+ deploy :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - name : Checkout repository
14+ uses : actions/checkout@v3
15+
16+ - name : Install Node.js
17+ uses : actions/setup-node@v3
18+ with :
19+ node-version : 18
20+
21+ - name : Install dependencies
22+ run : npm install # Change if using yarn/pnpm
23+
24+ - name : Build Project
25+ run : npm run build # Change if using a different build command
26+
27+ - name : Deploy to Netlify
28+ uses : nwtgck/actions-netlify@v2
29+ with :
30+ publish-dir : ./dist # Change if your build output is different (e.g., build/)
31+ production-branch : main
32+ deploy-message : " Deployed via GitHub Actions"
33+ enable-pull-request-comment : false
34+ github-token : ${{ secrets.GITHUB_TOKEN }}
35+ netlify-auth-token : ${{ secrets.NETLIFY_AUTH_TOKEN }}
36+ netlify-site-id : ${{ secrets.NETLIFY_SITE_ID }}
Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ Feel free to reach out to me:
114114
115115- Email: amos.babu@yahoo.com
116116- LinkedIn: [ Amos Babu] ( https://www.linkedin.com/in/amos-babu-275597202/ )
117- - My Portfolio: [ Amos Babu] ( https://amos-babu .netlify.app )
117+ - My Portfolio: [ Amos Babu] ( https://amosbabu .netlify.app )
118118
119119---
120120
You can’t perform that action at this time.
0 commit comments