File tree Expand file tree Collapse file tree 1 file changed +15
-10
lines changed
Expand file tree Collapse file tree 1 file changed +15
-10
lines changed Original file line number Diff line number Diff line change @@ -18,24 +18,29 @@ jobs:
1818 steps :
1919 - uses : actions/checkout@v4
2020
21+ - name : Set up Node.js
22+ uses : actions/setup-node@v4
23+ with :
24+ node-version : " 22"
25+ cache : " npm"
26+
2127 - name : Set up Ruby
2228 uses : ruby/setup-ruby@v1
2329 with :
2430 ruby-version : 3.4
2531 bundler-cache : true
2632
33+ - name : Install dependencies
34+ run : npm ci
35+
2736 - name : Build the site
28- env :
29- JEKYLL_ENV : production
30- run : |
31- ./bin/data-update
32- bundle exec jekyll build
37+ run : npm run build:full
3338
3439 - name : Upload artifact
3540 uses : actions/upload-artifact@v4
3641 with :
37- name : _site
38- path : _site
42+ name : dist
43+ path : dist
3944
4045 deploy :
4146 runs-on : ubuntu-latest
@@ -49,14 +54,14 @@ jobs:
4954 - name : Download artifact
5055 uses : actions/download-artifact@v4
5156 with :
52- name : _site
53- path : _site
57+ name : dist
58+ path : dist
5459
5560 - name : Deploy to GitHub Pages
5661 uses : peaceiris/actions-gh-pages@v3
5762 with :
5863 github_token : ${{ secrets.GITHUB_TOKEN }}
59- publish_dir : ./_site
64+ publish_dir : ./dist
6065 publish_branch : master
6166 force_orphan : true
6267 user_name : " github-actions[bot]"
You can’t perform that action at this time.
0 commit comments