docs: fix docs config
Some checks failed
Tests / test-node (node22) (push) Successful in 1m37s
Tests / test-deno (push) Successful in 1m36s
Tests / test-node (node18) (push) Successful in 1m46s
Tests / test-bun (push) Successful in 1m43s
Tests / test-web (chromium) (push) Successful in 1m42s
Tests / test-node (node20) (push) Successful in 1m49s
Tests / test-web (firefox) (push) Successful in 1m8s
Tests / lint (push) Successful in 6m35s
Docs / build (push) Successful in 6m40s
Tests / e2e-deno (push) Successful in 52s
Tests / e2e (push) Failing after 57s

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

View file

@ -24,9 +24,12 @@ jobs:
touch docs/.nojekyll
echo "ref.mtcute.dev" > docs/CNAME
echo "ignore-workspace-root-check=true" >> .npmrc
curl -O https://gist.githubusercontent.com/j0nl1/7f9b5210c9e6ecbabe322baa16dcb5db/raw/760de77327bf83671cfb6bd4e64181299ba26113/typedoc-fix-cf.mjs
node typedoc-fix-cf.mjs docs
- name: Deploy
# 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
with:
apiToken: ${{ secrets.CLOUDFLARE_PAGES_TOKEN }}

View file

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