Skip to content

Build Stride Web for GitHub Staging #9

Build Stride Web for GitHub Staging

Build Stride Web for GitHub Staging #9

# More GitHub Actions for Azure: https://github.com/Azure/actions
name: Build Stride Web for GitHub Staging
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies & build
run: |
npm install
npm run build
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_site
publish_branch: gh-pages