Skip to content

Merge pull request #1 from xinyuli1204/original #1

Merge pull request #1 from xinyuli1204/original

Merge pull request #1 from xinyuli1204/original #1

Workflow file for this run

name: Publish
on:
push:
branches:
- 'main'
permissions:
contents: read
pages: write
id-token: write
jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '20.x'
- name: build
run: |
yarn install
yarn build
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: 'build'
- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v2