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
Copy file name to clipboardExpand all lines: README.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -151,6 +151,16 @@ In addition to the deployment options you must also configure the following.
151
151
152
152
With the action correctly configured you should see the workflow trigger the deployment under the configured conditions.
153
153
154
+
#### Deployment Status
155
+
156
+
The action will export an environment variable called `DEPLOYMENT_STATUS` that you can use in your workflow to determine if the deployment was successful or not. You can find an explanation of each status code below.
157
+
158
+
| Status | Description |
159
+
| ------------- |:-------------:|
160
+
|`success`| The `success` status indicates that the action was able to successfully deploy the project to the branch. |
161
+
|`failed`| The `failed` status indicates that the action encountered an error while trying to deploy the project. |
162
+
|`skipped`| The `skipped` status indicates that the action exited early as there was nothing new to deploy. |
0 commit comments