aboutsummaryrefslogtreecommitdiff
path: root/deploy
diff options
context:
space:
mode:
Diffstat (limited to 'deploy')
-rw-r--r--deploy/migrate.yaml6
1 files changed, 4 insertions, 2 deletions
diff --git a/deploy/migrate.yaml b/deploy/migrate.yaml
index babd5f3e..dd5e485c 100644
--- a/deploy/migrate.yaml
+++ b/deploy/migrate.yaml
@@ -6,7 +6,9 @@
# Required substitutions
# _ENV environment (dev, staging, or prod)
-# _CMD command to migrate
+# _CMD command to migrate (e.g., up, down N, force V). IMPORTANT: Do not enclose the command and its arguments in quotes. Enter it as you would on the command line.
+# Example for force: force 157
+# Example for up: up
timeout: 1800s
steps:
@@ -31,7 +33,7 @@ steps:
migrate \
-source file:../migrations \
-database "postgres://cloudbuild@127.0.0.1:${port}/${name}?sslmode=disable&password=$$PASSWORD" \
- "$_CMD"
+ $_CMD
secretEnv: ['PASSWORD']
availableSecrets:
secretManager: