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: .github/workflows/db-update-dev.yml
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -16,11 +16,11 @@ on:
16
16
required: false
17
17
default: false
18
18
type: boolean
19
-
INSTALL_MODE:
20
-
description: Which API version to install when run manually. "installed" = install the currently deployed API version; "latest" = install latest from main.
19
+
INSTALL_CURRENT:
20
+
description: Install the currently deployed API version when true; when false install main (latest).
Copy file name to clipboardExpand all lines: .github/workflows/db-update-prod.yml
+18-12Lines changed: 18 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -1,20 +1,19 @@
1
1
# Update the Mobility Database Schema
2
2
name: Database Update - PROD
3
3
on:
4
-
workflow_dispatch:
4
+
workflow_dispatch:# Manual trigger
5
5
inputs:
6
-
INSTALL_MODE:
7
-
description: Which API version to install when run manually. "installed" = install the currently deployed API version; "latest" = install latest from main.
6
+
DRY_RUN:
7
+
description: Skip applying schema and content updates
8
8
required: false
9
-
default: installed
10
-
type: string
11
-
workflow_call:
12
-
inputs:
13
-
INSTALL_MODE:
14
-
description: Which API version to install when called as a reusable workflow (defaults to latest)
9
+
default: false
10
+
type: boolean
11
+
INSTALL_CURRENT:
12
+
description: Install the currently deployed API version when true; when false install main (latest).
15
13
required: false
16
-
default: latest
17
-
type: string
14
+
default: true
15
+
type: boolean
16
+
workflow_call: []
18
17
repository_dispatch: # Update on mobility-database-catalog repo dispatch
Copy file name to clipboardExpand all lines: .github/workflows/db-update-qa.yml
+7-13Lines changed: 7 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -8,18 +8,12 @@ on:
8
8
required: false
9
9
default: false
10
10
type: boolean
11
-
INSTALL_MODE:
12
-
description: Which API version to install when run manually. "installed" = install the currently deployed API version; "latest" = install latest from main.
11
+
INSTALL_CURRENT:
12
+
description: Install the currently deployed API version when true; when false install main (latest).
13
13
required: false
14
-
default: installed
15
-
type: string
16
-
workflow_call:
17
-
inputs:
18
-
INSTALL_MODE:
19
-
description: Which API version to install when called as a reusable workflow (defaults to latest)
20
-
required: false
21
-
default: latest
22
-
type: string
14
+
default: false
15
+
type: boolean
16
+
workflow_call: []
23
17
24
18
repository_dispatch: # Update on mobility-database-catalog repo dispatch
Copy file name to clipboardExpand all lines: .github/workflows/db-update.yml
+15-9Lines changed: 15 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -75,11 +75,11 @@ on:
75
75
required: false
76
76
default: api.mobilitydatabase.org
77
77
type: string
78
-
INSTALL_MODE:
79
-
description: Which API version to install when run manually. "installed" = install the currently deployed API version; "latest" = install latest from main.
78
+
INSTALL_CURRENT:
79
+
description: Install the currently deployed API version when true; when false install main (latest).
80
80
required: false
81
-
default: latest
82
-
type: string
81
+
default: false
82
+
type: boolean
83
83
DRY_RUN:
84
84
description: Skip applying schema and content updates
0 commit comments