Skip to content

Merge branch 'main' of github.com:alibaba/f2e-spec #63

Merge branch 'main' of github.com:alibaba/f2e-spec

Merge branch 'main' of github.com:alibaba/f2e-spec #63

Workflow file for this run

name: GitHub Pages
on:
push:
branches:
- main
pull_request:
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
- name: Setup pnpm
uses: pnpm/action-setup@v3
with:
version: 8
- name: Install
run: pnpm install
- name: Build
run: pnpm run build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build