Skip to content

Commit

Permalink
chore(action): Add mandae application variable
Browse files Browse the repository at this point in the history
  • Loading branch information
wisley7l committed Oct 17, 2023
1 parent 5014fcc commit 8f7aa87
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ inputs:
description: 'App: Flash Courier contract'
webhooks-token:
description: 'App: Webhooks token'
mandae-token:
description: 'App: Mandaê token'

outputs: {}

Expand Down Expand Up @@ -241,6 +243,7 @@ runs:
PIX_CREDENTIALS: ${{ inputs.pix-credentials }}
FLASHCOURIER_CONTRACT: ${{ inputs.flashcourier-contract }}
WEBHOOKS_TOKEN: ${{ inputs.webhooks-token }}
MANDAE_TOKEN: ${{ inputs.mandae-token }}
run: |
export GAC_FILENAME=".gac-$RANDOM.json"
echo $FIREBASE_SERVICE_ACCOUNT > $GAC_FILENAME
Expand Down Expand Up @@ -281,6 +284,7 @@ runs:
PIX_CREDENTIALS=$PIX_CREDENTIALS
FLASHCOURIER_CONTRACT=$FLASHCOURIER_CONTRACT
WEBHOOKS_TOKEN=$WEBHOOKS_TOKEN
MANDAE_TOKEN=$MANDAE_TOKEN
" > functions/.env
if [ -z "$DEPLOY_CODEBASE" ]; then
GOOGLE_APPLICATION_CREDENTIALS=$GAC_FILENAME npm run deploy
Expand Down

0 comments on commit 8f7aa87

Please sign in to comment.