fix: Enforce minimum buffer size on resize (#4554) #3045
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |