File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Deploy Jekyll site to Pages
2+
3+ on :
4+ push :
5+ branches : ["main"]
6+ workflow_dispatch :
7+
8+ permissions :
9+ contents : read
10+ pages : write
11+ id-token : write
12+
13+ concurrency :
14+ group : " pages"
15+ cancel-in-progress : false
16+
17+ jobs :
18+ build :
19+ runs-on : ubuntu-latest
20+ steps :
21+ - name : Checkout
22+ uses : actions/checkout@v4
23+
24+ - name : Setup Ruby
25+ uses : ruby/setup-ruby@v1
26+ with :
27+ ruby-version : ' 3.1'
28+ bundler-cache : true
29+
30+ - name : Setup Pages
31+ id : pages
32+ uses : actions/configure-pages@v4
33+
34+ - name : Build with Jekyll
35+ run : bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
36+ env :
37+ JEKYLL_ENV : production
38+
39+ - name : Upload artifact
40+ uses : actions/upload-pages-artifact@v3
41+
42+ deploy :
43+ environment :
44+ name : github-pages
45+ url : ${{ steps.deployment.outputs.page_url }}
46+ runs-on : ubuntu-latest
47+ needs : build
48+ steps :
49+ - name : Deploy to GitHub Pages
50+ id : deployment
51+ uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change 1+ # OCSAS Documentation - GitHub Pages with Jekyll
2+
3+ source "https://rubygems.org"
4+
5+ gem "jekyll" , "~> 4.3"
6+ gem "just-the-docs" , "~> 0.8"
7+
8+ group :jekyll_plugins do
9+ gem "jekyll-redirect-from"
10+ gem "jekyll-seo-tag"
11+ gem "jekyll-sitemap"
12+ end
Original file line number Diff line number Diff line change 33
44title : OCSAS
55description : OpenClaw Security Assurance Standard - Security checklist and hardening guide for OpenClaw users
6- remote_theme : just-the-docs/ just-the-docs
6+ theme : just-the-docs
77
88# Plugins
99plugins :
1010 - jekyll-redirect-from
11+ - jekyll-seo-tag
12+ - jekyll-sitemap
1113
1214# Repository information
1315url : https://gensecaihq.github.io
You can’t perform that action at this time.
0 commit comments