Skip to content

ci: Replace web validator with schema version and link to subdirectory build of the legacy validator #2

ci: Replace web validator with schema version and link to subdirectory build of the legacy validator

ci: Replace web validator with schema version and link to subdirectory build of the legacy validator #2

Workflow file for this run

---
name: Deno web build
on:
push:
branches: [master]
tags: ['*']
pull_request:
branches: [master]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- run: deno task build
working-directory: ./web
- uses: actions/upload-artifact@v4
with:
name: web
path: web/dist
deploy:
needs: build
permissions:
pages: write
id-token: write
# Deploy to the github-pages environment
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
# Specify runner + deployment step
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4 # or specific "vX.X.X" version tag for this action