Skip to content

Commit

Permalink
update lambda to get the right version
Browse files Browse the repository at this point in the history
  • Loading branch information
rhettre committed Sep 7, 2024
1 parent 3c4f8cc commit 566a735
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ name: Upload Python Package
on:
release:
types: [published]
workflow_dispatch:

permissions:
contents: read
Expand Down Expand Up @@ -52,3 +53,10 @@ jobs:
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}

- name: Trigger Lambda Layer Workflow
if: success()
uses: peter-evans/repository-dispatch@v2
with:
token: ${{ secrets.REPO_ACCESS_TOKEN }}
event-type: package-published
5 changes: 3 additions & 2 deletions .github/workflows/release-lambda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@
name: Build and Release Lambda Layer

on:
release:
types: [created]
repository_dispatch:
types: [package-published]
workflow_dispatch:

jobs:
build-and-release-layer:
Expand Down

0 comments on commit 566a735

Please sign in to comment.