mirror of
https://github.com/TomHodson/tomhodson.github.com.git
synced 2025-06-26 10:01:18 +02:00
setup a branch build
This commit is contained in:
parent
9721978cb2
commit
5f044a048a
2
.github/workflows/jekyll.yml
vendored
2
.github/workflows/jekyll.yml
vendored
@ -50,7 +50,7 @@ jobs:
|
||||
run: npm clean-install
|
||||
- name: Build with Jekyll
|
||||
# Outputs to the './_site' directory by default
|
||||
run: bundle exec jekyll build --trace --baseurl "${{ steps.pages.outputs.base_path }}"
|
||||
run: bundle exec jekyll build --trace --baseurl "${{ github.ref_name == github.event.repository.default_branch && steps.pages.outputs.base_path || github.ref_name}}"
|
||||
env:
|
||||
JEKYLL_ENV: production
|
||||
- name: Upload artifact
|
||||
|
Loading…
x
Reference in New Issue
Block a user