Commit Graph

12 Commits

Author SHA1 Message Date
Evan Simkowitz
159c10ee9b
Run deploy-docsite check when Taskfile is modified (#1307)
Now that deploy-docsite depends on the Taskfile, we need to gate
Taskfile changes on it.
2024-11-15 16:16:12 -08:00
Evan Simkowitz
3b117805fe
Move docsite build scripts to Taskfile, make the electron tasks depend on them (#1298)
This adds the new tasks `docsite:start`, `docsite:build:public`,
`docsite:build:embedded`, `storybook:build`, and `copyfiles:*:*` to
Taskfile.

It also updates the "Build Helper" and "Docsite and Storybook CI/CD"
workflows to use these new tasks.

It also makes the docsite embedded build a dependency of the electron
tasks, ensuring that the embedded docsite is included when building
locally.

Tested and confirms this works on Windows
2024-11-15 12:19:31 -08:00
Evan Simkowitz
e5f98c6475
Update our build workflows to use NodeJS 22 (#1285)
NodeJS 20 is almost EOL so I'm updating our workflows to use NodeJS 22.
This does not change anything about our app, which will still use NodeJS
20 until Electron shifts away from it. NodeJS 22 is fully
backwards-compatible with NodeJS 20 so there's no issue from a testing
standpoint.
2024-11-13 21:06:48 -08:00
Evan Simkowitz
e478a86bf5
Remove unnecessary copy (#1220) 2024-11-06 11:59:32 -08:00
Evan Simkowitz
ed8d3c179c
Test relative assets for storybook (#1219) 2024-11-06 11:56:49 -08:00
Evan Simkowitz
437e4e8c6e
Set base url for storybook using env var (#1218) 2024-11-06 11:47:46 -08:00
Evan Simkowitz
b306eab0d8
Consolidate docsite/storybook CI/CD workflows (#1217) 2024-11-06 11:36:08 -08:00
Evan Simkowitz
66675fc3e5
Final assets fix? (#1216) 2024-11-06 11:25:35 -08:00
Evan Simkowitz
ea3e12875d
Copy assets from repo into build output (#1215) 2024-11-06 11:17:47 -08:00
Evan Simkowitz
516029e508
Move storybook-static assets to static root (#1214) 2024-11-06 10:57:40 -08:00
Evan Simkowitz
efd8ad7254
Remove bad working directory for docsite CD (#1212) 2024-11-06 10:48:31 -08:00
Evan Simkowitz
edb3290349
Move docsite to main repo (#1204)
## Summary

We are moving our docsite to this repo for better coordination.

## What's changed?

- The docsite codebase is now in docs/
- The docsite will replace storybook as the published GitHub Pages site
for this repo
- Storybook will now be hosted at https://docs.waveterm.dev/storybook
- A new CI workflow will validate any changes to Storybook or the
docsite
- A combined CD workflow will build and deploy Storybook and the docsite
as a single artifact
- The Build Helper workflow will now build an embedded version of the
docsite before building the app, ensuring the docsite version it has is
always the latest
2024-11-06 10:45:21 -08:00