Skip to content

Commit 19ccf9a

Browse files
committed
Update workflow
1 parent 066406f commit 19ccf9a

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

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

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,20 @@ jobs:
3131
runs-on: ubuntu-latest
3232
steps:
3333
- name: Checkout
34-
uses: actions/checkout@v4
34+
uses: actions/checkout@v3
35+
- name: Setup Ruby
36+
uses: ruby/setup-ruby@v1
37+
with:
38+
ruby-version: "3.1" # Not needed with a .ruby-version file
39+
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
40+
cache-version: 0 # Increment this number if you need to re-download cached gems
3541
- name: Setup Pages
36-
uses: actions/configure-pages@v5
42+
uses: actions/configure-pages@v3
3743
- name: Build with Jekyll
38-
uses: actions/jekyll-build-pages@v1
39-
with:
40-
source: ./
41-
destination: ./_site
44+
# Outputs to the './_site' directory by default
45+
run: bundle exec jekyll build --baseurl "STAG-AUIUI-P8VT"
46+
env:
47+
JEKYLL_ENV: production
4248
- name: Upload artifact
4349
uses: actions/upload-pages-artifact@v3
4450

@@ -52,4 +58,4 @@ jobs:
5258
steps:
5359
- name: Deploy to GitHub Pages
5460
id: deployment
55-
uses: actions/deploy-pages@v4
61+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)