starters(academic): add GitHub pages workflow
This commit is contained in:
2
.github/workflows/publish.yaml
vendored
2
.github/workflows/publish.yaml
vendored
@@ -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 }}
|
||||||
|
|||||||
Reference in New Issue
Block a user