From 8d4b69acafe3c0c54fd25df27a5e8fd619f81680 Mon Sep 17 00:00:00 2001 From: Louis King Date: Mon, 5 Feb 2024 21:25:17 +0000 Subject: [PATCH] Tidied workflow --- .github/workflows/build.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e4f0a99..7aa89ab 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,25 +17,32 @@ jobs: - name: Prepare Filesystem run: | - mkdir -p .build + mkdir -p ./.build - name: Create Butane YAML with Terraform run: | pushd ./terraform + echo "Initialising Terraform..." terraform init + echo "Applying Terraform..." terraform apply -auto-approve + echo "Starting index page..." echo "Butane

Butane

Deployed by Terraform

" >> ../.build/index.html + popd - name: Deploy