Skip to content

Granting object access based on its associations #803

Granting object access based on its associations

Granting object access based on its associations #803

Workflow file for this run

name: Documentation
on:
pull_request:
branches: [documentation]
push:
branches: [documentation]
jobs:
checks:
if: github.event_name != 'push'
name: Test deployment
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18.x
- name: Test build
env:
NODE_OPTIONS: "--max_old_space_size=4096"
run: |
yarn install --frozen-lockfile
yarn build
gh-release:
if: github.event_name != 'pull_request'
name: Deploy to GitHub Pages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18.x
- name: Build website
env:
NODE_OPTIONS: "--max_old_space_size=4096"
run: |
yarn install --frozen-lockfile
yarn build
# Popular action to deploy to GitHub Pages:
# Docs: https://github.com/peaceiris/actions-gh-pages#%EF%B8%8F-docusaurus
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GH_PAGES_DEPLOY_TOKEN }}
# Build output to publish to the `gh-pages` branch:
publish_dir: ./build