Skip to content

webgl export to pages #7

webgl export to pages

webgl export to pages #7

name: webgl-build-export
on:
pull_request: {}
jobs:
webgl-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
lfs: true
- name: Build
id: build
uses: krynv/[email protected]
with:
name: index
preset: Web
- name: Upload Artifact
uses: actions/[email protected]
with:
name: Client-Web
path: ${{ github.workspace }}/${{ steps.build.outputs.build }}
webgl-export-to-pages:
runs-on: ubuntu-latest
needs: webgl-build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Download a Build Artifact
uses: actions/[email protected]
with:
name: Client-Web
path: ${{ github.workspace }}/${{ steps.build.outputs.build }}
- name: Upload GitHub Pages artifact
uses: actions/[email protected]
with:
path: ${{ github.workspace }}/${{ steps.build.outputs.build }}
- name: Deploy GitHub Pages site
uses: actions/[email protected]
with:
artifact_name: github-pages