-
Notifications
You must be signed in to change notification settings - Fork 15
Running a script before deployment
Cyril Rohr edited this page Aug 24, 2024
·
1 revision
Using the pre_script
action input, you can reference a path to a bash script that will get executed before the Docker Compose stack is pinned up / restarted.
The script can then execute different commands based on whether this is the first PullPreview run, or an update, by checking the Environment variables PULLPREVIEW_FIRST_RUN
.