File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ concurrency:
1818 cancel-in-progress : false
1919
2020jobs :
21- # Build job
2221 build :
2322 runs-on : ubuntu-latest
2423 steps :
@@ -27,16 +26,22 @@ jobs:
2726 - name : Setup Pages
2827 id : pages
2928 uses : actions/configure-pages@v5
30- - name : Build with Jekyll
29+ - uses : ruby/setup-ruby@v1
30+ with :
31+ ruby-version : ' 3.4'
32+ bundler-cache : false
33+ - name : Install Gems
34+ working-directory : ./src
35+ run : bundle install
36+ - name : Build
37+ working-directory : ./src
3138 run : |
32- make setup
33- make build
34- env :
35- JEKYLL_ENV : production
39+ JEKYLL_REV=$(git rev-parse --short HEAD) JEKYLL_ENV=production \
40+ bundle exec jekyll build -d ./../dist -c '_config.yml,_config.prod.yml'
3641 - name : Upload artifact
3742 uses : actions/upload-pages-artifact@v3
3843 with :
39- path : ' dist/'
44+ path : ' src/ dist/'
4045
4146 deploy :
4247 environment :
Original file line number Diff line number Diff line change 11services :
22 jekyll :
3+ user : ${UID:-1000}:1000
34 build : .
45 ports :
56 - 4000:4000
You can’t perform that action at this time.
0 commit comments