diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 32c4b5d..b675423 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -43,7 +43,7 @@ jobs: # aws cloudformation deploy --stack-name bitespace-website --template-file deploy.yml --parameter-overrides AcmCertificateArn=$ACM_CERTIFICATE_ARN --capabilities CAPABILITY_IAM CAPABILITY_NAMED_IAM # aws s3 sync ./out s3://${{ secrets.WEBSITE_BUCKET_NAME }} - - name: Deploy to s3 + - name: Cloudformation and s3 setup id: bitespace-website uses: aws-actions/aws-cloudformation-github-deploy@v1 with: @@ -52,6 +52,8 @@ jobs: capabilities: CAPABILITY_IAM, CAPABILITY_NAMED_IAM parameter-overrides: >- AcmCertificateArn=${{ secrets.ACM_CERTIFICATE_ARN }} + + - name: Deploy to S3 run: | cd website aws s3 sync ./out s3://${{ secrets.WEBSITE_BUCKET_NAME }}