generated from pagopa/terraform-infrastructure-template
-
Notifications
You must be signed in to change notification settings - Fork 5
51 lines (46 loc) · 1.12 KB
/
publish_web_assets.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: Publish web assets
on:
push:
branches:
- main
paths:
- "/assets/**"
workflow_dispatch:
inputs:
env:
required: true
type: choice
description: 'Select the Environment'
default: 'dev'
options:
- dev
- uat
- prod
jobs:
release_dev:
uses: ./.github/workflows/call_publish_web_assets.yml
name: DEV Selfcare Infra Release contracts template
if: ${{ inputs.env == 'dev' }}
secrets: inherit
with:
environment: dev
environment_short: d
agent: self-hosted
release_uat:
uses: ./.github/workflows/call_publish_web_assets.yml
name: UAT Selfcare Infra Release contracts template
if: ${{ inputs.env == 'uat' }}
secrets: inherit
with:
environment: uat
environment_short: u
agent: self-hosted
release_prod:
uses: ./.github/workflows/call_publish_web_assets.yml
name: PROD Selfcare Infra Release contracts template
if: ${{ inputs.env == 'prod' }}
secrets: inherit
with:
environment: prod
environment_short: p
agent: self-hosted