Skip to content

Commit 2fea87b

Browse files
committed
Reorganize Jekyll workflow steps; set working directory for dependency installation and adjust build command path
Signed-off-by: DavidOsipov <[email protected]>
1 parent 6482a1e commit 2fea87b

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

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

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,19 +32,20 @@ jobs:
3232
run: |
3333
gem install bundler
3434
bundle install
35-
36-
- name: Build site
37-
run: |
38-
bundle exec jekyll build -d ./site/build
35+
working-directory: ./site
3936

4037
- name: Install Node.js
4138
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e
4239
with:
4340
node-version: 22.14.0
44-
41+
4542
- name: Install Wrangler
4643
run: npm install -g wrangler
4744

45+
- name: Build site
46+
run: |
47+
bundle exec jekyll build -d /site/build
48+
4849
- name: Publish
4950
uses: cloudflare/[email protected]
5051
with:

0 commit comments

Comments
 (0)