You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(deploy): enhance deployment workflows and documentation
- Updated `DEPLOY.md` for clarity on docs deployment and versioning.
- Modified GitHub Actions workflows to include selective deployment based on changes.
- Added environment variable for Node.js version compatibility in API deployment.
- Improved Dockerfile for Lambda API to support cross-compilation for arm64 architecture.
Copy file name to clipboardExpand all lines: DEPLOY.md
+5-10Lines changed: 5 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,15 +22,9 @@ Triggers on push to `main` touching `registry/**`, or manual dispatch.
22
22
23
23
Manual dispatch supports a `force` boolean to skip tests.
24
24
25
-
### `docs-deploy.yml` — Docs Deploy
25
+
### Docs deploy
26
26
27
-
Triggers on push to `main` touching `website/**`, or manual dispatch.
28
-
29
-
Single job: build Docusaurus, rsync `website/build/` to EC2 `/opt/devsper-docs/`, verify with curl.
30
-
31
-
### `docs.yml` — Docs Versioning
32
-
33
-
Triggers on release published. Creates a versioned docs snapshot via `docusaurus docs:version` and opens a PR to merge it into main.
27
+
Docs site and its deploy live in the **docs** repo. Push to `main` there builds Docusaurus and rsyncs `build/` to EC2 `/opt/devsper-docs/` (see `docs/.github/workflows/deploy-ec2.yml`). Versioning (if used) is also handled in the docs repo.
34
28
35
29
## GitHub Configuration
36
30
@@ -149,6 +143,7 @@ Trigger via GitHub Actions → "Docs Deploy" → Run workflow.
0 commit comments