File tree Expand file tree Collapse file tree 1 file changed +10
-12
lines changed
Expand file tree Collapse file tree 1 file changed +10
-12
lines changed Original file line number Diff line number Diff line change @@ -16,22 +16,20 @@ jobs:
1616 steps :
1717 - name : Checkout source
1818 uses : actions/checkout@v4
19- - name : Setup node.js
20- uses : actions/setup-node@v4
19+ - name : Setup Ruby
20+ uses : actions/setup-ruby@v1
2121 with :
22- node-version : 21
23- - name : Install node dependencies
24- run : npm install
25- - name : Build site
22+ ruby-version : 3.2
23+ - name : Install dependencies
2624 run : |
27- PREFIX_PATHS=true npm run build
28- mkdir website
29- mv public website/training-center
30- cp redirect.html website/index.html
31- - name : Upload artifact
25+ gem install bundler
26+ bundle install
27+ - name : Build site
28+ run : bundle exec jekyll build
29+ - name : Upload artifacts
3230 uses : actions/upload-pages-artifact@v3
3331 with :
34- path : ./website
32+ path : ./_site
3533 deploy :
3634 if : github.event_name == 'push'
3735 needs : build
You can’t perform that action at this time.
0 commit comments