# This is a basic workflow to help you get started with Actions name: Public docs on: push: branches: [main] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: permissions: {} # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: # This workflow contains a single job called "build" build: # The type of runner that the job will run on runs-on: ubuntu-latest permissions: contents: write # Steps represent a sequence of tasks that will be executed as part of the job steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 with: persist-credentials: false - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 with: node-version: 24 - name: Build website run: cd website && yarn && yarn build - name: Deploy to GitHub Pages if: success() uses: crazy-max/ghaction-github-pages@59173cb633d9a3514f5f4552a6a3e62c6710355c # v2.7.0 with: target_branch: gh-pages build_dir: website/build env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}