Merge pull request #73 from nf-osi/patch-remove-investigatorwebsite #34
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |