Skip to content

Set up GitHub Actions workflow for GitHub Pages deployment - 1 #2

Set up GitHub Actions workflow for GitHub Pages deployment - 1

Set up GitHub Actions workflow for GitHub Pages deployment - 1 #2

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest # The action will run on the latest version of Ubuntu.
steps:
- name: Checkout code
uses: actions/checkout@v3 # Updated to v3
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4 # Updated to v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./