commit
1b847c025f
2 changed files with 11 additions and 2 deletions
10
.github/workflows/ses-juntekim.yml
vendored
10
.github/workflows/ses-juntekim.yml
vendored
|
|
@ -39,10 +39,16 @@ jobs:
|
|||
with:
|
||||
terraform_version: ${{ env.TF_VERSION }}
|
||||
|
||||
- name: Install AWS CLI
|
||||
- name: Install AWS CLI v2
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y awscli
|
||||
sudo apt-get install -y unzip curl
|
||||
|
||||
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
|
||||
unzip awscliv2.zip
|
||||
sudo ./aws/install
|
||||
|
||||
aws --version
|
||||
|
||||
# Optional but recommended once
|
||||
- name: Verify AWS identity
|
||||
|
|
|
|||
3
.github/workflows/stripe-to-invoice.yml
vendored
3
.github/workflows/stripe-to-invoice.yml
vendored
|
|
@ -156,10 +156,12 @@ jobs:
|
|||
USER="$PROD_POSTGRES_USER"
|
||||
PASS="$PROD_POSTGRES_PASSWORD"
|
||||
RUNTIME_SECRET=postgres-prod
|
||||
NAMESPACE=default
|
||||
else
|
||||
USER="$DEV_POSTGRES_USER"
|
||||
PASS="$DEV_POSTGRES_PASSWORD"
|
||||
RUNTIME_SECRET=postgres-dev
|
||||
NAMESPACE=dev
|
||||
fi
|
||||
|
||||
DATABASE_URL="postgres://${USER}:${PASS}@${POSTGRES_HOST}:5432/${POSTGRES_DB}?sslmode=disable"
|
||||
|
|
@ -181,6 +183,7 @@ jobs:
|
|||
set +a
|
||||
|
||||
if [[ "$ENV" == "prod" ]]; then
|
||||
NAMESPACE=default
|
||||
STRIPE_SECRET_KEY="$PROD_STRIPE_SECRET_KEY"
|
||||
STRIPE_CLIENT_ID="$PROD_STRIPE_CLIENT_ID"
|
||||
STRIPE_REDIRECT_URI="$PROD_STRIPE_REDIRECT_URI"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue