Skip to content

Commit 2455001

Browse files
author
Alex Melnyk
committed
moved publish step to publish workflow after pypi push
1 parent e8d77b7 commit 2455001

File tree

2 files changed

+11
-25
lines changed

2 files changed

+11
-25
lines changed

.github/workflows/publish.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,17 @@ jobs:
5656
env:
5757
PYPI_USERNAME: __token__
5858
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
59+
- name: publish lambda layer in SAR by triggering the internal codepipeline
60+
run: |
61+
aws ssm put-parameter --name "powertools-python-release-version" --value $RELEASE_TAG_VERSION --overwrite
62+
aws codepipeline start-pipeline-execution --name ${{ secrets.CODEPIPELINE_NAME }}
63+
env:
64+
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
65+
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
66+
AWS_DEFAULT_REGION: eu-west-1
67+
AWS_DEFAULT_OUTPUT: json
68+
69+
5970

6071
sync_master:
6172
needs: upload

.github/workflows/publish_layer.yml

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)