Skip to content

Commit 1f43ce4

Browse files
author
Alex Melnyk
committed
line endings
1 parent ad00a92 commit 1f43ce4

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Publish lambda layer to SAR
2+
3+
on:
4+
push:
5+
branches:
6+
- feat/lambda-layer
7+
env:
8+
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
9+
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
10+
AWS_DEFAULT_REGION: eu-central-1
11+
AWS_DEFAULT_OUTPUT: json
12+
13+
jobs:
14+
build:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Set release notes tag
18+
run: |
19+
export RELEASE_TAG_VERSION=${{ github.event.release.tag_name }}
20+
echo ::set-env name=RELEASE_TAG_VERSION::${RELEASE_TAG_VERSION:1}
21+
- name: write version to ssm
22+
run: |
23+
aws ssm put-parameter --name "powertools-python-release-version" --value $RELEASE_TAG_VERSION
24+
- name: trigger lamber layer publish pipeline
25+
run: |
26+
aws codepipeline start-pipeline-execution --name ${{ secret.CODEPIPELINE_NAME }}

0 commit comments

Comments
 (0)