aboutsummaryrefslogtreecommitdiff
path: root/docs/Deploy.md
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2025-11-24 10:41:16 +0100
committerGitHub Enterprise <[email protected]>2025-11-24 10:41:16 +0100
commit7d30a252898e78eb508db4a597580a1261b96d70 (patch)
treeda73cba80b9e87e6a7495384d70ba3556b49863d /docs/Deploy.md
parentAdd regex-free route matching support (#662) (diff)
downloadzen-7d30a252898e78eb508db4a597580a1261b96d70.tar.xz
zen-7d30a252898e78eb508db4a597580a1261b96d70.zip
add Deploy.md and ability to specify a version via --version (#663)
* add docs/Deploy.md * added ability to specify a version on the command line, via `--version`
Diffstat (limited to 'docs/Deploy.md')
-rw-r--r--docs/Deploy.md31
1 files changed, 31 insertions, 0 deletions
diff --git a/docs/Deploy.md b/docs/Deploy.md
new file mode 100644
index 000000000..2a5e9be0f
--- /dev/null
+++ b/docs/Deploy.md
@@ -0,0 +1,31 @@
+# Deploying a build to UE
+
+## Build
+
+Builds are produced via GitHub CI (Action Runners) and uploaded as artifacts
+to GitHub. See [create_release.yml](.github/workflows/create_release.yml) for
+details on what happens during the build.
+
+A new release is created when the [VERSION.txt](VERSION.txt) file changes.
+
+## Deploying into the UE tree
+
+After a successful release, you need to integrate the resulting binaries into
+the UE tree. There's a helper script for this in [scripts/download_artifacts.py](scripts/download_artifacts.py)
+
+You'll need a p4 workspace mapped to the stream or branch you want to deploy
+into, and a clone of the zen git repo. Since we use `gh` to download the
+artifacts you'll need to use `gh auth login` and `gh repo clone` to clone
+the repo. With the current directory set to the root of the cloned git repo,
+run the following command to download the artifacts corresponding to the
+VERSION.txt in the repo by default.
+
+```bash
+> python scripts/download_artifacts.py <UE root path>
+```
+
+The script should go ahead and for each platform downloads the artifacts
+using `gh artifact download` to a temporary directory, sync the corresponding
+files in Engine/Binaries/<platform> to #head and opens them for edit and
+copies the downloaded binaries into place, leaving the changes in your default
+changelist.