File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,18 +27,29 @@ jobs:
2727 build :
2828 runs-on : ubuntu-latest
2929 steps :
30- - name : Checkout
31- uses : actions/checkout@v4
32- - name : Setup Pages
33- uses : actions/configure-pages@v5
34- - name : Build with Jekyll
35- uses : actions/jekyll-build-pages@v1
30+ - name : Checkout repository
31+ uses : actions/checkout@v3
32+
33+ - name : Setup Ruby
34+ uses : ruby/setup-ruby@v1
3635 with :
37- source : ./
38- destination : ./_site
39- - name : Upload artifact
40- uses : actions/upload-pages-artifact@v3
36+ ruby-version : ' 3.1'
37+ bundler-cache : true
38+
39+ - name : Install dependencies
40+ run : bundle install
41+
42+ - name : Build site
43+ run : bundle exec jekyll build
4144
45+ - name : Deploy
46+ run : |
47+ git config --global user.name "GitHub Actions"
48+ git config --global user.email "actions@github.com"
49+ git add .
50+ git commit -m "Deploy site"
51+ git push
52+
4253 # Deployment job
4354 deploy :
4455 environment :
You can’t perform that action at this time.
0 commit comments