Skip to content

update

update #2

Workflow file for this run

name: Deploy
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.2"
bundler-cache: true
- name: Install dependencies
run: |
cd docs
gem install bundler -v 2.6.7
bundle config set path 'vendor/bundle'
bundle install
- name: Generate content
run: |
cd docs
chmod +x *.sh # Fix permissions
./generate_readmes.sh
./update_stats.sh
- name: Build site
run: |
cd docs
bundle exec jekyll build
- uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/_site