Skip to content

fix(demo-build): fix demo dosc deployments (#6043) #59

fix(demo-build): fix demo dosc deployments (#6043)

fix(demo-build): fix demo dosc deployments (#6043) #59

Workflow file for this run

name: Deploy docs
on:
push:
branches:
- 'demo'
paths:
- 'docs/**'
repository_dispatch:
types: deploy-docs
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Use Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 16.13.0
- uses: actions/checkout@v3
with:
ref: demo
- name: Checkout private repo
uses: actions/checkout@v3
with:
repository: akveo/ngx-admin
token: ${{ secrets.GH_PAT }}
- name: Deploy to GH pages
uses: nicoinch/[email protected]
env:
GH_PAT: ${{ secrets.GH_PAT }}
- run: |
npm install --silent
git config --global user.email "[email protected]"
git config --global user.name "Github Action"
npm run docs:gh-pages