Skip to content

Commit e302529

Browse files
committed
* 'develop' of https://github.com/awslabs/aws-lambda-powertools-python: feat(ci): create reusable changelog generation (aws-powertools#1418)
2 parents 092e103 + 2f628ad commit e302529

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/workflows/rebuild_latest_docs.yml

+6-8
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,13 @@ on:
1616
required: true
1717

1818
jobs:
19+
changelog:
20+
permissions:
21+
contents: write
22+
uses: ./.github/workflows/reusable_publish_changelog.yml
23+
1924
release:
25+
needs: changelog
2026
# Force Github action to run only a single job at a time (based on the group name)
2127
# This is to prevent "race-condition" in publishing a new version of doc to `gh-pages`
2228
concurrency:
@@ -43,14 +49,6 @@ jobs:
4349
run: |
4450
git config --global user.name Docs deploy
4551
git config --global user.email [email protected]
46-
- name: Generate latest CHANGELOG
47-
run: make changelog
48-
- name: Push project metadata and changelog to trunk
49-
run: |
50-
git add CHANGELOG.md
51-
git add pyproject.toml
52-
git commit -m "chore(ci): update project with version ${RELEASE_TAG_VERSION}"
53-
git push origin HEAD:refs/heads/develop
5452
- name: Build docs website and API reference
5553
run: |
5654
make release-docs VERSION=${RELEASE_TAG_VERSION} ALIAS="latest"

0 commit comments

Comments
 (0)