Skip to content

Commit 7184cbd

Browse files
committed
outputs
1 parent c6b579f commit 7184cbd

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,15 @@ jobs:
4848
tg_dir: ${{ env.working_dir }}
4949
tg_command: apply
5050

51+
- name: Terragrunt Outputs
52+
uses: gruntwork-io/terragrunt-action@v3
53+
id: terragrunt_outputs
54+
with:
55+
tg_dir: ${{ env.working_dir }}
56+
tg_command: output distribution_id bucket_name
57+
58+
59+
5160
# - name: Get bucket name
5261
# uses: gruntwork-io/terragrunt-action@v3
5362
# id: get_bucket_name
@@ -68,8 +77,8 @@ jobs:
6877
# printf "distribution_id=%s\n" $(terragrunt output --chdir $TG_WORKING_DIR distribution_id) >> "$GITHUB_OUTPUT"
6978
# printf "bucket_name=%s\n" $(terragrunt output --chdir $TG_WORKING_DIR bucket_name) >> "$GITHUB_OUTPUT"
7079

71-
# - name: Build Jekyll project
72-
# run: bundle exec rake build
80+
- name: Build Jekyll project
81+
run: bundle exec rake build
7382

7483
# - name: Copy output to S3
7584
# run: aws s3 sync ./_site/ s3://${{ steps.get_bucket_name.outputs.tg_action_output }} --acl public-read --delete --cache-control max-age=604800

0 commit comments

Comments
 (0)