Skip to content

Commit

Permalink
Merge pull request #3 from sudhanshutech/preview
Browse files Browse the repository at this point in the history
preview
  • Loading branch information
sudhanshutech authored Feb 11, 2024
2 parents ae47772 + 37b1628 commit 70638ae
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
25 changes: 25 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Netlify Preview

on:
pull_request:
push:
branches:
- master

jobs:
build:
runs-on: ubuntu-latest

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

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

- name: Build and deploy to Netlify
run: |
netlify deploy --dir=Lets-Learn-Github --prod
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
2 changes: 1 addition & 1 deletion Lets-Learn-Github/contributors/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
/* Style for contributor image */
.contributor-image {
border-radius: 50%;
margin-bottom: 10px;
margin-bottom: 9px;
width: 100px;
}

Expand Down

0 comments on commit 70638ae

Please sign in to comment.