Skip to content

workflow improvements #1

workflow improvements

workflow improvements #1

name: Infrastructure
on:
workflow_call:
jobs:
deploy-infra:
name: Deploy infra

Check failure on line 8 in .github/workflows/infrastructure.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/infrastructure.yml

Invalid workflow file

You have an error in your yaml syntax on line 8
runs-on: ubuntu-latest
defaults:
run:
working-directory: infra/
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Create tfvars
run: echo '${{secrets.TFVARS}}' >> secrets.auto.tfvars
- name: Terraform Apply
uses: sturlabragason/terraform_state_artifact@v1
with:
encryptionkey: ${{ secrets.TF_STATE_SECRET }}