starters(academic): add GitHub pages workflow

This commit is contained in:
Splitter
2023-10-15 18:09:32 +00:00
parent e654bc8ea4
commit 50a7dfae00

View File

@@ -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 }}