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 name: build and deploy
on: [push] on:
branches: [main] workflow_dispatch:
branches: [main]
jobs: jobs:
build-and-deploy: build-and-deploy:
runs-on: ubuntu-latest runs-on: ubuntu-latest
...@@ -22,10 +23,12 @@ jobs: ...@@ -22,10 +23,12 @@ jobs:
cache: pnpm cache: pnpm
- name: build vuepress site - name: build vuepress site
run: pnpm src:build run: pnpm docs:build
- name: deploy to pages - name: Deploy to GitHub Pages
uses: Fudan_iGEM/vuepress-deploy@v1 uses: crazy-max/ghaction-github-pages@v4
with: with:
target_branch: gh-pages 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