Skip to content

Commit

Permalink
ci: debug outputs from cf deploy action
Browse files Browse the repository at this point in the history
  • Loading branch information
limulus authored Sep 23, 2024
1 parent 4e7bbaa commit 1830942
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
BranchName=${{ github.ref_name }},
LimulusDotNetZoneId=${{ secrets.LIMULUS_DOT_NET_ZONE_ID }},
LimulusDotNetCertificateArn=${{ secrets.LIMULUS_DOT_NET_CERTIFICATE_ARN }}
- run: echo "::set-output name=StaticSiteBucketName::$(aws cloudformation describe-stacks --stack-name limulus-dot-net-${{ github.ref_name }} --query 'Stacks[0].Outputs[?OutputKey==`StaticSiteBucketName`].OutputValue' --output text)"
- run: cat $GITHUB_OUTPUT

build:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -59,13 +59,12 @@ jobs:
id-token: write
steps:
- run: echo "StaticSiteBucketName ${{ needs.infra.outputs.StaticSiteBucketName.value }}"

# - uses: actions/download-artifact@v4
# with:
# name: dist-www
# path: www
# - uses: aws-actions/configure-aws-credentials@v4
# with:
# role-to-assume: arn:aws:iam::865116139480:role/github-actions-limulus-penumbra
# aws-region: us-west-2
# - run: aws s3 sync www s3://limulus-net-penumbra --delete --cache-control max-age=60,public
- uses: actions/download-artifact@v4
with:
name: dist-www
path: www
- uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: arn:aws:iam::865116139480:role/github-actions-limulus-penumbra
aws-region: us-west-2
- run: aws s3 sync www s3://${{ needs.infra.outputs.StaticSiteBucketName.value }} --delete --cache-control max-age=60,public

0 comments on commit 1830942

Please sign in to comment.