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