Skip to content

Merge pull request #54 from cas-ustc-meow/main #55

Merge pull request #54 from cas-ustc-meow/main

Merge pull request #54 from cas-ustc-meow/main #55

Workflow file for this run

name: Build and Deploy
on:
push:
branches:
- main
permissions:
contents: write
jobs:
build-and-deploy:
concurrency: ci-${{ github.ref }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install and Build
run: |
cd siteGen
npm ci
npm run build
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: siteGen/public # The folder the action should deploy.
branch: gh-pages