Skip to content

Commit

Permalink
chore: add squid server workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
charly-bg committed Nov 7, 2024
1 parent 0f07c69 commit 71a92b3
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/deployer-squid-server.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Deploy squid server

on:
workflow_dispatch:
inputs:
deployment-environment:
required: true
type: choice
options:
- dev
- stg
- prd
default: prd
description: Environment
deployment-server:
required: true
type: choice
options:
- a
- b
default: a
description: Server
tag:
required: true
default: "latest"
type: string
description: "Docker tag (quay.io)"

jobs:
deployment:
if: ${{ inputs.deployment-environment != '' && inputs.deployment-server != '' }}
name: "Deploy to: ${{ inputs.deployment-environment }} - server ${{ inputs.deployment-server }}"
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/marketplace-squid:${{ inputs.tag }}"
serviceName: "marketplace-squid-server-${{ inputs.deployment-server }}"
env: ${{ inputs.deployment-environment }}
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 71a92b3

Please sign in to comment.