Skip to content

preview bug fix, query param to open window (basic) #24

preview bug fix, query param to open window (basic)

preview bug fix, query param to open window (basic) #24

Workflow file for this run

name: Compile Typescript and Deploy to Pages
on:
push:
branches: ["master"]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./src
steps:
- uses: actions/checkout@v3
- uses: actions/configure-pages@v1
id: pages
- uses: actions/setup-node@v3
with:
node-version: 18
cache: 'npm'
cache-dependency-path: './src/package-lock.json'
- name: Install and build
run: |
npm ci
npm run build
rm -rf node_modules
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: ./src
deploy:
runs-on: ubuntu-latest
needs: build
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/deploy-pages@v1
id: deployment