chore: move pg string to env
This commit is contained in:
4
.github/workflows/infra-build.yml
vendored
4
.github/workflows/infra-build.yml
vendored
@@ -11,6 +11,9 @@ jobs:
|
|||||||
runs-on: self-hosted
|
runs-on: self-hosted
|
||||||
container:
|
container:
|
||||||
image: node:20-bullseye
|
image: node:20-bullseye
|
||||||
|
|
||||||
|
env:
|
||||||
|
PG_CONN_STR: ${{ secrets.PG_CONN_STR }} # available to all steps
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
@@ -45,7 +48,6 @@ jobs:
|
|||||||
- name: Opentofu Plan
|
- name: Opentofu Plan
|
||||||
id: plan
|
id: plan
|
||||||
run: |
|
run: |
|
||||||
export PG_CONN_STR="${{ secrets.PG_CONN_STR }}"
|
|
||||||
tofu plan -out=tfplan -detailed-exitcode
|
tofu plan -out=tfplan -detailed-exitcode
|
||||||
|
|
||||||
- name: Opentofu Apply
|
- name: Opentofu Apply
|
||||||
|
Reference in New Issue
Block a user