add 2024-11-15 社区呼吁参与项目治理和品牌重塑 (#264) #379
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Site Build | |
on: | |
push: | |
branches: [main] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build the site in the jekyll/builder container | |
run: | | |
docker run \ | |
--entrypoint /bin/sh \ | |
-v ${{ github.workspace }}:/srv/jekyll -v ${{ github.workspace }}/_site:/srv/jekyll/_site \ | |
docker.io/library/ruby:3.1.3-bullseye -c "gem install bundler jekyll && chmod 777 /srv/jekyll && cd /srv/jekyll && bundle install && jekyll build --future --trace" | |
- name: Deploy to gh-pages | |
uses: JamesIves/github-pages-deploy-action@4.1.1 | |
with: | |
branch: gh-pages | |
folder: _site | |