Skip to content

Initial lab website structure #1

Initial lab website structure

Initial lab website structure #1

Workflow file for this run

name: Deploy Jekyll with BibTeX
on:
push:
branches:
- main # 或者是 master,取决于你的默认分支名
jobs:
jekyll:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.1'
bundler-cache: true
- name: Build Site
run: bundle exec jekyll build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_site