Skip to content

Improve local emulator to read nuget packages as remote does #18

Improve local emulator to read nuget packages as remote does

Improve local emulator to read nuget packages as remote does #18

Workflow file for this run

name: Publish Documentation
on:
push:
branches: [main]
jobs:
build_app:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: "20.x"
registry-url: "https://registry.npmjs.org"
- name: Install gh-pages
run: |
npm install -g [email protected]
- name: Install Dependencies
run: |
cd docs
npm i
cd ..
- name: Build Page
run: |
cd docs
npm run build
echo "blazor.piral.io" > .vitepress/dist/CNAME
cd ..
- name: Deploy App Shell
run: |
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
gh-pages -d "docs/.vitepress/dist" -u "github-actions-bot <[email protected]>"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}