chore: updated github workflow
This commit is contained in:
6
.github/workflows/infra-build.yml
vendored
6
.github/workflows/infra-build.yml
vendored
@@ -3,15 +3,13 @@ name: Build Infra
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- master
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
terraform:
|
terraform:
|
||||||
name: Terraform Build
|
name: Terraform Build
|
||||||
runs-on: self-hosted
|
runs-on: self-hosted
|
||||||
defaults:
|
|
||||||
run:
|
|
||||||
working-directory: ./opentofu-homelab
|
|
||||||
env:
|
env:
|
||||||
PG_CONN_STR: ${{ secrets.PG_CONN_STR }} # <-- Add PostgreSQL backend connection string
|
PG_CONN_STR: ${{ secrets.PG_CONN_STR }} # <-- Add PostgreSQL backend connection string
|
||||||
steps:
|
steps:
|
||||||
|
Reference in New Issue
Block a user