mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
more logs
This commit is contained in:
parent
68a95d0296
commit
d29ccecefb
1 changed files with 11 additions and 1 deletions
12
.github/workflows/deploy_terraform.yml
vendored
12
.github/workflows/deploy_terraform.yml
vendored
|
|
@ -10,13 +10,23 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
stage: ${{ steps.set-stage.outputs.stage }}
|
||||
|
||||
secrets:
|
||||
AWS_ACCESS_KEY_ID: ${{ secrets.DEV_AWS_ACCESS_KEY_ID }}
|
||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.DEV_AWS_SECRET_ACCESS_KEY }}
|
||||
AWS_REGION: ${{ secrets.DEV_AWS_REGION }}
|
||||
DEV_DB_HOST: ${{ secrets.DEV_DB_HOST }}
|
||||
steps:
|
||||
- name: Determine stage from branch
|
||||
id: set-stage
|
||||
shell: bash
|
||||
run: |
|
||||
echo $AWS_ACCESS_KEY_ID
|
||||
echo $AWS_SECRET_ACCESS_KEY
|
||||
echo $AWS_REGION
|
||||
echo $DEV_DB_HOST
|
||||
|
||||
env
|
||||
|
||||
BRANCH="${GITHUB_REF_NAME}"
|
||||
|
||||
if [[ "$BRANCH" == "prod" ]]; then
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue