Skip to content

Commit 40cd671

Browse files
authored
Merge pull request #37 from ecmwf-projects/build-webportal-predictia
Build webportal with tag
2 parents 86f7bbc + 9f283e9 commit 40cd671

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/build-webportal.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77
description: 'Image tag'
88
required: true
99
default: 'latest'
10+
gh_branch:
11+
description: 'Branch'
12+
required: true
13+
default: 'main'
1014
workflow_run:
1115
workflows:
1216
- ecmwf-projects/cads-build-farm/build-images.yml
@@ -59,6 +63,7 @@ jobs:
5963
repository: ecmwf-projects/cads-webportal
6064
token: ${{ secrets.CADS_PAT }}
6165
path: ./cads-webportal
66+
ref: ${{ github.event.inputs.gh_branch }}
6267
- name: Build and push
6368
uses: docker/build-push-action@v3
6469

0 commit comments

Comments
 (0)