Skip to content

Create Publish_to_GH_Page.yml #1

Create Publish_to_GH_Page.yml

Create Publish_to_GH_Page.yml #1

Workflow file for this run

name: Publish to GH Pages
on:
push:
branches:
- main
permissions:
contents: write
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '18.x'
- run: npm install
- run: npm run build
- name: Deploy
uses: JamesIves/github-pages-deploy-action@releases/v4
with:
folder: dist