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
{{ message }}
This repository was archived by the owner on Mar 5, 2025. It is now read-only.
Copy file name to clipboardexpand all lines: template/readme/deploy.md
+12-2
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ In order to create the build artifact in `/deploy`, simply run
27
27
28
28
This task is analogous to `setup:build:all` but with a few critical differences:
29
29
* The docroot is created at `/deploy/docroot`.
30
-
* Only production required to the docroot
30
+
* Only production required to the docroot
31
31
* (planned) CSS / JS are compiled in production mode (compressed / minified)
32
32
* (planned) Sensitive files, such as CHANGELOG.txt, are removed.
33
33
@@ -36,13 +36,23 @@ After the artifact is created, you can inspect it or even run it as a website lo
36
36
## <aname="build-artifact"></a>Create and deploy the build artifact
37
37
38
38
To both create and deploy the build artifact in a single command, run the following command
39
-
39
+
40
40
````
41
41
./blt.sh deploy:artifact -Ddeploy.branch=develop-build -Ddeploy.commitMsg='BLT-123: The commit message.'
42
42
````
43
43
44
44
This command will commit the artifact to the `develop-build` branch with the specified commit message and push it to the remotes defined in project.yml.
45
45
46
+
### Debugging deployment artifacts
47
+
48
+
If you would like to create, commit, but _not push_ the artifact, you may do a dry run:
49
+
50
+
````
51
+
./blt.sh deploy:artifact -Ddeploy.branch=develop-build -Ddeploy.commitMsg='BLT-123: The commit message.' -Ddeploy.dryRun=true
52
+
````
53
+
54
+
This is helpful for debugging deployment artifacts.
55
+
46
56
## Continuous integration
47
57
48
58
Instead of performing these deployments manually, you can enlist the help of a CI tool such as Travis or Jenkins.
0 commit comments