Build #444
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: Build | |
on: | |
schedule: | |
- cron: '55 23 * * 1-5' | |
workflow_dispatch: {} | |
jobs: | |
build: | |
runs-on: '${{ matrix.os }}' | |
strategy: | |
matrix: | |
os: | |
- ubuntu-latest | |
node-version: | |
- 20.x | |
steps: | |
- name: 'Set up Node.js ${{ matrix.node-version }}' | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '${{ matrix.node-version }}' | |
- uses: actions/checkout@v4 | |
- name: 'Set up Ruby v2.7' | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 2.7 | |
- 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 | |