name: Docs # This action runs on push to 'main' on: push: branches: - main jobs: build-and-deploy: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v3.5.3 with: persist-credentials: false - name: Install and Build run: | yarn yarn build working-directory: website/ - name: Deploy to GitHub Pages uses: JamesIves/github-pages-deploy-action@v4.4.2 with: branch: gh-pages folder: website/build clean: true clean-exclude: | .circleci commit-message: "[ci skip] Deploying documentation update"