Skip to content

Commit e5884cb

Browse files
authored
Modify Jekyll build step in workflow
Updated the Jekyll GitHub Actions workflow to use a custom build command.
1 parent 536ad94 commit e5884cb

1 file changed

Lines changed: 12 additions & 7 deletions

File tree

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

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,20 @@ jobs:
3030
uses: actions/checkout@v4
3131
- name: Setup Pages
3232
uses: actions/configure-pages@v5
33-
- name: export env
34-
run: echo ${{ secrets.MAPBOX_API }}
35-
- name: Build with Jekyll
36-
uses: actions/jekyll-build-pages@v1
33+
- name: Build Jekyll site
34+
run: bundle exec jekyll build
3735
env:
3836
MAPBOX_API: ${{ secrets.MAPBOX_API }}
39-
with:
40-
source: ./
41-
destination: ./_site
37+
# replace this
38+
# - name: export env
39+
# run: echo ${{ secrets.MAPBOX_API }}
40+
# - name: Build with Jekyll
41+
# uses: actions/jekyll-build-pages@v1
42+
# env:
43+
# MAPBOX_API: ${{ secrets.MAPBOX_API }}
44+
# with:
45+
# source: ./
46+
# destination: ./_site
4247
- name: Upload artifact
4348
uses: actions/upload-pages-artifact@v3
4449

0 commit comments

Comments
 (0)