Skip to content

Deploy documentation app to github pages #99

Deploy documentation app to github pages

Deploy documentation app to github pages #99

Workflow file for this run

name: Deploy documentation app to github pages
on: workflow_dispatch
env:
NODE_VERSION: '18.x'
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
cache: 'npm'
- name: Install
run: npm ci
- name: Build documentation
run: |
npm run build:lib
npm run library:generate:docs
npm run build:docs -- --base-href=/ng-aquila/ --no-progress
cp projects/opensource-documentation/src/404.html dist/opensource-documentation/browser
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: dist/opensource-documentation/browser
CLEAN: true