Skip to content

fix: multiple equals not parsing correctly #9

fix: multiple equals not parsing correctly

fix: multiple equals not parsing correctly #9

Workflow file for this run

name: Publish Typedoc to Github Pages
on:
push:
branches:
- main
jobs:
publish:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0 # Fetch all history for all branches and tags
- uses: actions/setup-node@v2
with:
node-version: '21'
cache: 'npm'
- uses: oleksiyrudenko/gha-git-credentials@v2-latest
with:
token: '${{ secrets.GITHUB_TOKEN }}'
- run: corepack enable yarn
- run: yarn install
- name: Configure Git
run: |
git config user.name github-actions
git config user.email [email protected]
- name: Create or switch to typedoc branch
run: |
git checkout typedoc || git checkout -b typedoc
git pull origin typedoc || true
- name: Merge main into typedoc
run: |
git merge origin/main --allow-unrelated-histories -X theirs
- run: yarn typedoc
- name: Commit and push changes
run: |
git add .
git diff --staged --quiet || git commit -m "Update typedoc to commit $(git rev-parse --short HEAD)"
git push origin typedoc