Skip to content

Build and Deploy Pages #8

Build and Deploy Pages

Build and Deploy Pages #8

Workflow file for this run

name: Build and Deploy Pages
on:
release:
types: [published]
workflow_dispatch:
permissions:
contents: write
jobs:
build-deploy:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- name: Install Packages
run: npm ci
- name: Build
run: npx ng build --configuration=production --base-href=/wasmshark/
- name: Deploy to Pages 🚀
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: dist/webshark