Skip to content

Merge pull request #16 from kyverno/external-cluster-setup-info #82

Merge pull request #16 from kyverno/external-cluster-setup-info

Merge pull request #16 from kyverno/external-cluster-setup-info #82

Workflow file for this run

name: Docs
on:
workflow_dispatch:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-20.04
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- name: Checkout
uses: actions/checkout@master
- name: Setup node env
uses: actions/[email protected]
with:
node-version: 20
- name: Cache dependencies
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies
run: npm ci
- name: Generate
run: npm run generate
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
personal_token: ${{ secrets.PERSONAL_TOKEN }}
external_repository: kyverno/policy-reporter
publish_branch: gh-pages
publish_dir: ./.output/public
destination_dir: docs