Skip to content

Merge pull request #68 from jay-hodgson/patch-1 #29

Merge pull request #68 from jay-hodgson/patch-1

Merge pull request #68 from jay-hodgson/patch-1 #29

# Publish schema-viz static site files using GitHub workflow artifacts
name: Publish static schema viz to GH Pages
on:
push:
branches:
- main
jobs:
# rebuild:
publish:
runs-on: ubuntu-latest
# needs: rebuild
permissions:
contents: read
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup GH Pages
uses: actions/configure-pages@v3
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: schema-viz
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2