mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-17 08:47:22 +00:00
feat(site): add back benchmark to site (also change cpu model) (#2939)
* ci: add concurrency for deploy site * feat(site): add benchmark * refactor(bench): overwrite old result with new * Update packages/benchmark/src/generateMessage.ts Co-authored-by: ITOH <to@itoh.at> * Update scripts/generateMessage.js Co-authored-by: ITOH <to@itoh.at> * Update site.yml --------- Co-authored-by: ITOH <to@itoh.at>
This commit is contained in:
+14
-13
@@ -8,21 +8,21 @@ on:
|
||||
push:
|
||||
branches: ['main']
|
||||
paths:
|
||||
- 'website/**'
|
||||
- '.github/workflows/site.yml'
|
||||
- 'jsdoc2md.json'
|
||||
- 'typedoc.json'
|
||||
- 'package.json'
|
||||
- 'packages/**'
|
||||
- "website/**"
|
||||
- ".github/workflows/site.yml"
|
||||
- "jsdoc2md.json"
|
||||
- "typedoc.json"
|
||||
- "package.json"
|
||||
- "packages/**"
|
||||
pull_request:
|
||||
branches: ['main']
|
||||
branches: ["main"]
|
||||
paths:
|
||||
- 'website/**'
|
||||
- '.github/workflows/site.yml'
|
||||
- 'jsdoc2md.json'
|
||||
- 'typedoc.json'
|
||||
- 'package.json'
|
||||
- 'packages/**'
|
||||
- "website/**"
|
||||
- ".github/workflows/site.yml"
|
||||
- "jsdoc2md.json"
|
||||
- "typedoc.json"
|
||||
- "package.json"
|
||||
- "packages/**"
|
||||
|
||||
# Allows you to run this workflow manually from the Actions tab
|
||||
workflow_dispatch:
|
||||
@@ -89,6 +89,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
if: github.event_name != 'pull_request'
|
||||
concurrency: deploy-site
|
||||
steps:
|
||||
- name: Deploy to GitHub Pages
|
||||
id: deployment
|
||||
|
||||
Reference in New Issue
Block a user