Skip to content

test docusaurus CI

test docusaurus CI #8

name: publish website
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
build_docs_job:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:

Check failure on line 21 in .github/workflows/publish-website.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/publish-website.yml

Invalid workflow file

You have an error in your yaml syntax on line 21
node-version: 18
cache: yarn
- name: Install dependencies
run: sudo apt-get install doxygen
- name: Build the Website
run: |
cd website
yarn install --frozen-lockfile
yarn run build
- name: Deploy
if: ${{ github.event_name == 'push' }}
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: website/build # The folder the action should deploy.