Skip to content

Merge branch 'main' of https://github.com/rishabhjain1712/Portfolio #15

Merge branch 'main' of https://github.com/rishabhjain1712/Portfolio

Merge branch 'main' of https://github.com/rishabhjain1712/Portfolio #15

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches:
- main # Trigger on push to main branch
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3 # Latest version of checkout action
- name: Configure Git
run: |
git config user.name "github-actions"
git config user.email "[email protected]"
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4 # Latest version of gh-pages action
with:
github_token: ${{ secrets.GITHUB_TOKEN }} # Provided by GitHub
publish_dir: ./ # The directory to deploy