Skip to content

fix: moved deploy runs-on before steps #16

fix: moved deploy runs-on before steps

fix: moved deploy runs-on before steps #16

Workflow file for this run

name: Documentation
on:
push:
branches:
- '**'
jobs:
Documentation:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ 18 ]
steps:
- uses: actions/checkout@v4
- name: Setup Node.js ${{ matrix.node }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
- name: Install dependencies
run: |
npm ci
- name: Build Docs
run: |
npm run build
npm run docs
- name: Upload Pages Artifact
uses: actions/upload-pages-artifact@v1
with:
path: dist/docs
Deploy:
needs: Documentation
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4