mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-30 13:10:47 +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
|
runs-on: ubuntu-latest
|
||||||
outputs:
|
outputs:
|
||||||
stage: ${{ steps.set-stage.outputs.stage }}
|
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:
|
steps:
|
||||||
- name: Determine stage from branch
|
- name: Determine stage from branch
|
||||||
id: set-stage
|
id: set-stage
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
echo $AWS_ACCESS_KEY_ID
|
||||||
|
echo $AWS_SECRET_ACCESS_KEY
|
||||||
|
echo $AWS_REGION
|
||||||
|
echo $DEV_DB_HOST
|
||||||
|
|
||||||
env
|
env
|
||||||
|
|
||||||
BRANCH="${GITHUB_REF_NAME}"
|
BRANCH="${GITHUB_REF_NAME}"
|
||||||
|
|
||||||
if [[ "$BRANCH" == "prod" ]]; then
|
if [[ "$BRANCH" == "prod" ]]; then
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue