Merge pull request #25 from bijiyiqi2017/all-contributors/add-Avinash… #20
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy to GitHub Pages | |
# Trigger the workflow on push or pull request to the main branch | |
on: | |
push: | |
branches: | |
- main # Trigger on push to 'main' branch | |
pull_request: | |
branches: | |
- main # Trigger on pull request to 'main' branch | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Deploy to GitHub Pages | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./ # Adjust this to the directory that contains your built website |