Skip to content

Commit

Permalink
Prueba
Browse files Browse the repository at this point in the history
  • Loading branch information
aitorcajas committed Oct 9, 2024
0 parents commit 49a498d
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/deploy-environment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Caller

on:
workflow_dispatch:
inputs:
environment:
type: choice
- development
- staging
- production
outputs:
API_URL: ${{steps.api.outputs.API_URL}}
LOG_LEVEL: ${{steps.log.outputs.LOG_LEVEL}}

jobs:
job_environment:
runs-on: ubuntu-latest
steps:
- name: api
run: echo "API_URL=${{vars.API_URL}}" >> $GITHUB_OUTPUT

- name: log
run: echo "API_URL=${{vars.LOG_LEVEL}}" >> $GITHUB_OUTPUT

- name: imprimir variables
run: |
echo "API_URL ${{steps.api.outputs.API_URL}}"
echo "LOG_LEVEL ${{steps.log.outputs.LOG_LEVEL}}"

0 comments on commit 49a498d

Please sign in to comment.