Skip to content

Commit 18daf68

Browse files
committed
build: added fixed tag for building themes
1 parent 7991eaf commit 18daf68

4 files changed

Lines changed: 12 additions & 1 deletion

File tree

.github/workflows/build_apex.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,5 @@ jobs:
1111
uses: ./.github/workflows/build_theme.yml
1212
with:
1313
theme: apex
14+
base_version: 'v3.3.5'
1415
secrets: inherit

.github/workflows/build_demo.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,5 @@ jobs:
1111
uses: ./.github/workflows/build_theme.yml
1212
with:
1313
theme: demo
14+
base_version: 'v3.3.5'
1415
secrets: inherit

.github/workflows/build_theme.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,20 @@ on:
77
description: 'The name of the theme to build'
88
required: true
99
type: string
10+
base_version:
11+
description: 'The base version of the STAC browser to use'
12+
required: false
13+
type: string
1014
workflow_dispatch:
1115
inputs:
1216
theme:
1317
description: 'The name of the theme to build'
1418
required: true
1519
type: string
20+
base_version:
21+
description: 'The base version of the STAC browser to use'
22+
required: false
23+
type: string
1624

1725

1826
env:
@@ -48,6 +56,7 @@ jobs:
4856
REPO_URL: https://github.com/radiantearth/stac-browser.git
4957
run: |
5058
git clone $REPO_URL $TEMP_FOLDER
59+
git checkout tags/${{inputs.base_version}}
5160
5261
- name: Copy theme to external repository
5362
run: |

themes/apex/version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4.0.0
1+
4.0.1

0 commit comments

Comments
 (0)