File tree 1 file changed +9
-18
lines changed
1 file changed +9
-18
lines changed Original file line number Diff line number Diff line change @@ -26,26 +26,17 @@ jobs:
26
26
build :
27
27
runs-on : ubuntu-latest
28
28
steps :
29
- - name : Checkout code
30
- uses : actions/checkout@v3
31
-
32
- - name : Setup Ruby
33
- uses : ruby/setup-ruby@v1
29
+ - name : Checkout
30
+ uses : actions/checkout@v4
31
+ - name : Setup Pages
32
+ uses : actions/configure-pages@v5
33
+ - name : Build with Jekyll
34
+ uses : actions/jekyll-build-pages@v1
34
35
with :
35
- ruby-version : 3.1 # Set to the required Ruby version for your Jekyll site
36
-
37
- - name : Install dependencies
38
- run : |
39
- gem install bundler
40
- bundle install
41
-
42
- - name : Build site
43
- run : bundle exec jekyll build --destination ./_site
44
-
36
+ source : ./
37
+ destination : ./_site
45
38
- name : Upload artifact
46
39
uses : actions/upload-pages-artifact@v3
47
- with :
48
- path : ./_site
49
40
50
41
# Deployment job
51
42
deploy :
57
48
steps :
58
49
- name : Deploy to GitHub Pages
59
50
id : deployment
60
- uses : actions/deploy-pages@v4
51
+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments