Skip to content

Commit

Permalink
Update _config.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
OOAAHH authored Oct 22, 2024
1 parent b1a889d commit efdb46e
Showing 1 changed file with 0 additions and 34 deletions.
34 changes: 0 additions & 34 deletions docs/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,37 +33,3 @@ exclude:

baseurl: "https://github.com/rnacentre/WDL_Tools" # 替换为你的仓库名称
url: "https://OOAAHH.github.io" # 替换为你的 GitHub 用户名


name: Build and Deploy Jekyll site to GitHub Pages

on:
push:
branches:
- gh-pages # 当你推送到 gh-pages 分支时触发

jobs:
build-deploy:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.1.4' # 确保与 GitHub Pages 支持的 Ruby 版本一致
bundler-cache: true

- name: Install dependencies
run: bundle install

- name: Build the site
run: bundle exec jekyll build --destination _site

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_site

0 comments on commit efdb46e

Please sign in to comment.