Skip to content

Maintenance: fix beta docs publishing #1490

@dreamorosi

Description

@dreamorosi

Summary

After making the v1.9.0 release I had to remove the portion of the workflow that publishes the docs to the beta website because it kept making the workflow fail preventing the docs to be published. Here's a reference of the failed workflow.

The error is similar to an error that we have already seen in the past, but that it appears to not be fixed yet.

We should troubleshoot the issue & try to fix it for good.

Why is this needed?

So that we can keep publishing the docs to the new beta destination.

- name: Configure AWS credentials
  uses: aws-actions/configure-aws-credentials@e1e17a757e536f70e52b5a12b2e8d1d1c60e04ef # v2.0.0
  with:
    aws-region: us-east-1
    role-to-assume: ${{ secrets.AWS_DOCS_ROLE_ARN }}
- name: Copy API Docs
   run: |
     cp -r api site/
- name: Deploy Docs (Version)
   env:
     VERSION: ${{ inputs.version }}
     ALIAS: ${{ inputs.alias }}
   run: |
     aws s3 sync \
     site/ \
     s3://${{ secrets.AWS_DOCS_BUCKET }}/lambda-typescript/${{ env.VERSION }}/
- name: Deploy Docs (Alias)
     env:
       VERSION: ${{ inputs.version }}
       ALIAS: ${{ inputs.alias }}
     run: |
       aws s3 sync \
       site/ \
       s3://${{ secrets.AWS_DOCS_BUCKET }}/lambda-typescript/${{ env.ALIAS }}/

Which area does this relate to?

Automation

Solution

No response

Acknowledgment

Future readers

Please react with 👍 and your use case to help us understand customer demand.

Metadata

Metadata

Assignees

Labels

automationThis item relates to automationcompletedThis item is complete and has been merged/shippedinternalPRs that introduce changes in governance, tech debt and chores (linting setup, baseline, etc.)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions