mirror of
https://github.com/gcushen/hugo-academic.git
synced 2025-07-26 03:00:50 +02:00
starters(academic): add GitHub pages workflow
This commit is contained in:
parent
548a4f820d
commit
548c91beed
1 changed files with 2 additions and 0 deletions
|
@ -22,6 +22,7 @@ defaults:
|
||||||
jobs:
|
jobs:
|
||||||
# Build website
|
# Build website
|
||||||
build:
|
build:
|
||||||
|
if: github.repository_owner != 'wowchemy'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
@ -53,6 +54,7 @@ jobs:
|
||||||
|
|
||||||
# Deploy website to GitHub Pages hosting
|
# Deploy website to GitHub Pages hosting
|
||||||
deploy:
|
deploy:
|
||||||
|
if: github.repository_owner != 'wowchemy'
|
||||||
environment:
|
environment:
|
||||||
name: github-pages
|
name: github-pages
|
||||||
url: ${{ steps.deployment.outputs.page_url }}
|
url: ${{ steps.deployment.outputs.page_url }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue