Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…tools-python into develop

* 'develop' of https://github.com/awslabs/aws-lambda-powertools-python:
  feat(ci): create reusable changelog generation (aws-powertools#1418)
  • Loading branch information
heitorlessa committed Aug 5, 2022
2 parents 092e103 + 2f628ad commit e302529
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/rebuild_latest_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,13 @@ on:
required: true

jobs:
changelog:
permissions:
contents: write
uses: ./.github/workflows/reusable_publish_changelog.yml

release:
needs: changelog
# Force Github action to run only a single job at a time (based on the group name)
# This is to prevent "race-condition" in publishing a new version of doc to `gh-pages`
concurrency:
Expand All @@ -43,14 +49,6 @@ jobs:
run: |
git config --global user.name Docs deploy
git config --global user.email aws-devax-open-source@amazon.com
- name: Generate latest CHANGELOG
run: make changelog
- name: Push project metadata and changelog to trunk
run: |
git add CHANGELOG.md
git add pyproject.toml
git commit -m "chore(ci): update project with version ${RELEASE_TAG_VERSION}"
git push origin HEAD:refs/heads/develop
- name: Build docs website and API reference
run: |
make release-docs VERSION=${RELEASE_TAG_VERSION} ALIAS="latest"
Expand Down

0 comments on commit e302529

Please sign in to comment.