Skip to content

Commit

Permalink
fix(apigw): publish apigw doc to stage with date
Browse files Browse the repository at this point in the history
  • Loading branch information
JoffreyPlouvier committed Nov 29, 2024
1 parent a083684 commit 4217547
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actions/aws/update-and-deploy-rest-api/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ runs:
- name: Publish ApiGw doc to stage
shell: bash
run: |
doc_version="$APIGW-$(date "+%Y%m%d-%H%M%S")"
doc_version="${{ inputs.APIGW_VERSION }}-$(date "+%Y%m%d-%H%M%S")"
aws apigateway create-documentation-version --rest-api-id ${{ inputs.APIGW_REST_API_ID }} --documentation-version $doc_version --stage-name ${{ inputs.APIGW_STAGE_NAME }} --description 'Api documentation version ${{ inputs.APIGW_VERSION }} from CICD'
- name: Export Openapi
Expand Down

0 comments on commit 4217547

Please sign in to comment.