docs: fix docs config
All checks were successful
Tests / test-node (node18) (push) Successful in 1m47s
Tests / test-deno (push) Successful in 1m39s
Tests / test-node (node22) (push) Successful in 1m44s
Tests / test-node (node20) (push) Successful in 1m47s
Tests / test-web (chromium) (push) Successful in 1m41s
Tests / test-bun (push) Successful in 1m51s
Tests / test-web (firefox) (push) Successful in 1m2s
Tests / lint (push) Successful in 6m25s
Docs / build (push) Successful in 6m36s
Tests / e2e (push) Successful in 55s
Tests / e2e-deno (push) Successful in 59s

This commit is contained in:
alina 🌸 2025-01-03 22:42:30 +03:00
parent b3790f14db
commit a7cc1d9c4b
Signed by: teidesu
SSH key fingerprint: SHA256:uNeCpw6aTSU4aIObXLvHfLkDa82HWH9EiOj9AXOIRpI
2 changed files with 3 additions and 1 deletions

View file

@ -26,7 +26,7 @@ jobs:
echo "ignore-workspace-root-check=true" >> .npmrc echo "ignore-workspace-root-check=true" >> .npmrc
- name: Deploy - name: Deploy
# do not run on forks and releases # do not run on forks and releases
if: github.event_name == 'push' && github.ref == 'refs/heads/master' && github.actor == 'desu-bot' # if: github.event_name == 'push' && github.ref == 'refs/heads/master' && github.actor == 'desu-bot'
uses: https://github.com/cloudflare/wrangler-action@v3 uses: https://github.com/cloudflare/wrangler-action@v3
with: with:
apiToken: ${{ secrets.CLOUDFLARE_PAGES_TOKEN }} apiToken: ${{ secrets.CLOUDFLARE_PAGES_TOKEN }}

View file

@ -51,6 +51,7 @@ export default {
], ],
}, },
typedoc: { typedoc: {
basePath: '/',
excludePackages: [ excludePackages: [
'@mtcute/tl', '@mtcute/tl',
'@mtcute/create-bot', '@mtcute/create-bot',
@ -64,6 +65,7 @@ export default {
'./.config/typedoc/plugin-external-links.js', './.config/typedoc/plugin-external-links.js',
'./.config/typedoc/plugin-umami.js', './.config/typedoc/plugin-umami.js',
], ],
gitRemote: 'https://github.com/mtcute/mtcute',
}, },
viteConfig: '.config/vite.build.ts', viteConfig: '.config/vite.build.ts',
} }