Skip to content

add 2024-07-06 新闻两则 (#243) #358

add 2024-07-06 新闻两则 (#243)

add 2024-07-06 新闻两则 (#243) #358

Workflow file for this run

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/[email protected]
with:
branch: gh-pages
folder: _site