Skip to content

Commit fcf928d

Browse files
committed
Don't use the inbuilt action
1 parent b1cec58 commit fcf928d

File tree

1 file changed

+15
-14
lines changed

1 file changed

+15
-14
lines changed

.github/workflows/jekyll-gh-pages.yml

+15-14
Original file line numberDiff line numberDiff line change
@@ -26,25 +26,26 @@ jobs:
2626
build:
2727
runs-on: ubuntu-latest
2828
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
3334
with:
34-
python-version: '3.x'
35+
ruby-version: 3.1 # Set to the required Ruby version for your Jekyll site
36+
3537
- name: Install dependencies
3638
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+
4645
- name: Upload artifact
4746
uses: actions/upload-pages-artifact@v3
47+
with:
48+
path: ./_site
4849

4950
# Deployment job
5051
deploy:

0 commit comments

Comments
 (0)