File tree Expand file tree Collapse file tree 2 files changed +82
-0
lines changed
Expand file tree Collapse file tree 2 files changed +82
-0
lines changed Original file line number Diff line number Diff line change 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 }}"
Original file line number Diff line number Diff line change 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 }}"
You can’t perform that action at this time.
0 commit comments