Skip to content

fix: fix overloaded types for GM.* #43

fix: fix overloaded types for GM.*

fix: fix overloaded types for GM.* #43

Workflow file for this run

name: doc
on:
workflow_dispatch:
push:
branches:
- main
paths:
- package.json
- index.d.ts
- README.md
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Rebuild website
run: |
curl -fsS \
-H 'Accept: application/vnd.github.everest-preview+json' \
-H 'Content-type: application/json' \
-H "Authorization: Bearer $GH_PAT_ORG" \
-X POST \
-d '{"event_type":"build"}' \
https://api.github.com/repos/$GH_REPO/dispatches
env:
GH_PAT_ORG: ${{ secrets.GH_PAT_ORG }}
GH_REPO: violentmonkey/violentmonkey-astro
- uses: actions/checkout@v3
with:
persist-credentials: false
fetch-depth: 100
- uses: actions/setup-node@v3
with:
node-version: '20'
- uses: pnpm/action-setup@v2
with:
version: 8
- name: Build docs
run: |
pnpm i
pnpm build:docs
pnpm build:docs --json docs/types.json
- name: Deploy to GitHub Pages
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: docs
single-commit: true