Skip to content

Build

Build #368

Workflow file for this run

name: Build
on:
schedule:
- cron: '55 23 * * 1-5'
workflow_dispatch: {}
jobs:
build:
runs-on: '${{ matrix.os }}'
strategy:
matrix:
os:
- ubuntu-latest
node-version:
- 18.x
steps:
- name: 'Set up Node.js ${{ matrix.node-version }}'
uses: actions/setup-node@v3
with:
node-version: '${{ matrix.node-version }}'
- uses: actions/checkout@v3
- name: 'Set up Ruby v2.3'
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.3
- run: npm i
- run: node add.js
- run: node index.js
- run: gem install bundler -v '2.0.1'
- run: bundle install
- run: |
cd docs
bundle exec jekyll doctor
bundle exec jekyll build --source docs --destination docs/_site
- run: git add docs
- run: git config user.email "[email protected]"
- run: git config user.name "Mike Ralphson"
- run: 'git commit -m "build: deploy docs"'
- run: git push