-
Notifications
You must be signed in to change notification settings - Fork 54
46 lines (38 loc) · 1.02 KB
/
build.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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