File tree Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Original file line number Diff line number Diff line change 1
1
name : Deploy Website using Jekyll
2
2
3
3
on :
4
- # Runs on pushes targeting the default branch
5
4
push :
6
5
branches : ["master"]
7
6
8
- # Allows you to run this workflow manually from the Actions tab
9
7
workflow_dispatch :
10
8
11
9
permissions :
@@ -20,27 +18,23 @@ concurrency:
20
18
jobs :
21
19
# Build job
22
20
build :
23
- runs-on : ubuntu-latest
21
+ runs-on : ubuntu-22.04
24
22
steps :
25
23
- name : Checkout
26
24
uses : actions/checkout@v4
27
25
- name : Setup Ruby
28
- # https://github.com/ruby/setup-ruby/releases/tag/v1.207.0
29
- uses : ruby/setup-ruby@4a9ddd6f338a97768b8006bf671dfbad383215f4
26
+ uses : ruby/setup-ruby@v1
30
27
with :
31
- ruby-version : ' 3.1' # Not needed with a .ruby-version file
32
- bundler-cache : true # runs 'bundle install' and caches installed gems automatically
33
- cache-version : 0 # Increment this number if you need to re-download cached gems
28
+ ruby-version : ' 3.1'
29
+ bundler-cache : true
34
30
- name : Setup Pages
35
31
id : pages
36
32
uses : actions/configure-pages@v5
37
33
- name : Build with Jekyll
38
- # Outputs to the './_site' directory by default
39
34
run : bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
40
35
env :
41
36
JEKYLL_ENV : production
42
37
- name : Upload artifact
43
- # Automatically uploads an artifact from the './_site' directory by default
44
38
uses : actions/upload-pages-artifact@v3
45
39
46
40
# Deployment job
You can’t perform that action at this time.
0 commit comments