Skip to content

Commit

Permalink
Update pagos-qa.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Francotorrico authored Apr 16, 2024
1 parent 4aa7d7e commit 438ffc4
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/pagos-qa.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
name: pagos-qa
on:
workflow_dispatch:
inputs:
environment:
description: 'Deployment environment'
required: true
default: 'QA'
options:
- 'QA'
- 'DEV'
#inputs:
# environment:
# description: 'Deployment environment'
# required: true
# default: 'QA'
# options:
# - 'QA'
# - 'DEV'
env:
SSH_PRIVATE_KEY: ${{ secrets.PEM_ORG_PAGOS_DEV }}
REMOTE_USER: ec2-user
Expand Down Expand Up @@ -103,7 +103,7 @@ jobs:

# Despliegue al entorno de QA (manual)
- name: Desplegar al entorno de QA
if: github.event.inputs.environment == 'QA'
#if: github.event.inputs.environment == 'QA'
uses: appleboy/ssh-action@master
with:
host: ${{ env.REMOTE_HOST }}
Expand Down

0 comments on commit 438ffc4

Please sign in to comment.