Skip to content
Snippets Groups Projects
Commit 70f5722f authored by Xujie Tan's avatar Xujie Tan
Browse files

Merge branch 'main' of gh-txj:Fudan-iGEM/2024-wiki

parents db21fbc4 ce288381
No related branches found
No related tags found
No related merge requests found
name: build and deploy
on: [push]
branches: [main]
on:
workflow_dispatch:
branches: [main]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
......@@ -22,10 +23,12 @@ jobs:
cache: pnpm
- name: build vuepress site
run: pnpm src:build
run: pnpm docs:build
- name: deploy to pages
uses: Fudan_iGEM/vuepress-deploy@v1
- name: Deploy to GitHub Pages
uses: crazy-max/ghaction-github-pages@v4
with:
target_branch: gh-pages
build_dir: src/.vuepress/dist
build_dir: docs/.vuepress/dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment