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