Skip to content

parse and deploy

parse and deploy #517

Workflow file for this run

name: "parse and deploy"
on:
schedule:
- cron: '05 4 * * *'
pull_request:
workflow_dispatch:
push:
jobs:
build:
runs-on: ubuntu-latest
name: parse options and create search
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
#bundler-cache: true
- run: |
gem install bundler
bundle install --jobs 4 --retry 3
- run: |
rm -v data/options.json
ruby scripts/parse_appendix.rb
ls -al data/options.json
cat data/options.json | jq ".last_update"
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ github.token }}
publish_dir: .