-
Notifications
You must be signed in to change notification settings - Fork 9
45 lines (42 loc) · 1.21 KB
/
manual-deploy.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
name: Manual Deploy
on:
workflow_dispatch:
inputs:
deployment-environment:
required: true
type: choice
options:
- dev
- stg
- prd
default: prd
description: Environment
tag:
required: true
default: "latest"
type: string
description: "Docker tag (quay.io)"
jobs:
deployment:
strategy:
matrix:
include:
- service_name: asset-bundle-converter
build_target: webgl
- service_name: asset-bundle-converter-windows
build_target: windows
- service_name: asset-bundle-converter-mac
platform_target: mac
if: ${{ inputs.deployment-environment }}
name: "Deploy to: ${{ inputs.deployment-environment }}"
runs-on: ubuntu-latest
environment: ${{ inputs.deployment-environment }}
steps:
- name: Trigger deployment
id: deploy
uses: decentraland/dcl-deploy-action@main
with:
dockerImage: "quay.io/decentraland/${{ matrix.service_name }}:${{ inputs.tag }}"
serviceName: "${{ matrix.service_name }}"
env: ${{ inputs.deployment-environment }}
token: ${{ secrets.GITHUB_TOKEN }}