Skip to content

Commit

Permalink
fix(apigw): publish apigw doc to stage
Browse files Browse the repository at this point in the history
  • Loading branch information
JoffreyPlouvier committed Nov 21, 2024
1 parent 43283c7 commit 8e007aa
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions actions/aws/update-and-deploy-rest-api/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,11 @@ runs:
run: |
aws apigateway create-deployment --rest-api-id ${{ inputs.APIGW_REST_API_ID }} --stage-name ${{ inputs.APIGW_STAGE_NAME }} --description 'Deploy version ${{ inputs.APIGW_VERSION }} from CICD'
- name: Publish ApiGw doc to stage
shell: bash
run: |
aws apigateway create-documentation-version --rest-api-id ${{ inputs.APIGW_REST_API_ID }} --documentation-version ${{ inputs.APIGW_VERSION }} --stage-name ${{ inputs.APIGW_STAGE_NAME }} --description 'Api documentation version ${{ inputs.APIGW_VERSION }} from CICD'
- name: Export Openapi
id: export_openapi
shell: bash
Expand Down

0 comments on commit 8e007aa

Please sign in to comment.