Skip to content

Build Stride Web for GitHub Staging #3

Build Stride Web for GitHub Staging

Build Stride Web for GitHub Staging #3

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