Skip to content

feat(react-components): Add Ghost more settings [BND3D-4592] (#4857) #3302

feat(react-components): Add Ghost more settings [BND3D-4592] (#4857)

feat(react-components): Add Ghost more settings [BND3D-4592] (#4857) #3302

Workflow file for this run

name: github-pages
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches:
- master
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
build-and-deploy:
name: Github Pages
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4 # If you're using actions/checkout@v2 you must set persist-credentials to false in most cases for the deployment to work correctly.
with:
persist-credentials: false
- name: Build Reveal
working-directory: viewer
run: |
yarn install --immutable
yarn build:prod
- name: Install and Build documentation 🔧
working-directory: documentation
run: |
yarn install --immutable
yarn build
- name: Deploy documentation 🚀
uses: peaceiris/actions-gh-pages@v4
with:
deploy_key: ${{ secrets.REVEAL_DOCS_DEPLOY_KEY }}
external_repository: cognitedata/reveal-docs
publish_branch: master
publish_dir: documentation/build