Skip to content

Commit 6338366

Browse files
authored
Merge pull request chaincodelabs#70 from willcl-ark/pr-tester
2 parents 8eab243 + f9b184c commit 6338366

File tree

2 files changed

+82
-0
lines changed

2 files changed

+82
-0
lines changed

.github/workflows/build-check.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# see https://github.com/actions/starter-workflows/blob/main/pages/jekyll.yml for reference
2+
name: Build
3+
on:
4+
pull-request:
5+
branches: [main, master]
6+
# Allows you to run this workflow manually from the Actions tab
7+
workflow_dispatch:
8+
concurrency:
9+
group: github-pages
10+
cancel-in-progress: false
11+
jobs:
12+
build-jekyll:
13+
runs-on: ubuntu-latest
14+
environment:
15+
name: github-pages
16+
url: ${{ steps.deployment.outputs.page_url }}
17+
steps:
18+
- name: Checkout
19+
uses: actions/checkout@v4
20+
- name: Configure Pages
21+
id: pages
22+
uses: actions/configure-pages@v3
23+
- name: Install Ruby and Jekyll
24+
uses: ruby/setup-ruby@v1
25+
with:
26+
ruby-version: '3.2'
27+
bundler-cache: true
28+
cache-version: 0
29+
- name: Setup Node.JS 18
30+
uses: actions/setup-node@v4
31+
with:
32+
node-version: 18
33+
- name: Install mermaid-cli
34+
run: npm install -g @mermaid-js/mermaid-cli
35+
- name: Generate Site
36+
run: |
37+
bundle
38+
make all
39+
env:
40+
JEKYLL_ENV: production
41+
ADD_JEKYLL_ARGS: --baseurl "${{ steps.pages.outputs.base_path }}"

.github/workflows/build.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# see https://github.com/actions/starter-workflows/blob/main/pages/jekyll.yml for reference
2+
name: Build
3+
on:
4+
pull-request:
5+
branches: [main, master]
6+
# Allows you to run this workflow manually from the Actions tab
7+
workflow_dispatch:
8+
concurrency:
9+
group: github-pages
10+
cancel-in-progress: false
11+
jobs:
12+
build-jekyll:
13+
runs-on: ubuntu-latest
14+
environment:
15+
name: github-pages
16+
url: ${{ steps.deployment.outputs.page_url }}
17+
steps:
18+
- name: Checkout
19+
uses: actions/checkout@v4
20+
- name: Configure Pages
21+
id: pages
22+
uses: actions/configure-pages@v3
23+
- name: Install Ruby and Jekyll
24+
uses: ruby/setup-ruby@v1
25+
with:
26+
ruby-version: '3.2'
27+
bundler-cache: true
28+
cache-version: 0
29+
- name: Setup Node.JS 18
30+
uses: actions/setup-node@v4
31+
with:
32+
node-version: 18
33+
- name: Install mermaid-cli
34+
run: npm install -g @mermaid-js/mermaid-cli
35+
- name: Generate Site
36+
run: |
37+
bundle
38+
make all
39+
env:
40+
JEKYLL_ENV: production
41+
ADD_JEKYLL_ARGS: --baseurl "${{ steps.pages.outputs.base_path }}"

0 commit comments

Comments
 (0)