Skip to content

Commit

Permalink
Merge pull request #13 from rhettre/feature/get-strategy-values
Browse files Browse the repository at this point in the history
update CI/CD
  • Loading branch information
rhettre authored Sep 8, 2024
2 parents bd9eed6 + fa32a81 commit 6b76137
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,13 @@ jobs:
- name: Trigger Lambda Release Workflow
if: success()
uses: peter-evans/repository-dispatch@v2
uses: actions/github-script@v6
with:
token: ${{ secrets.REPO_ACCESS_TOKEN }}
event-type: trigger-lambda-release
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
await github.rest.actions.createWorkflowDispatch({
owner: context.repo.owner,
repo: context.repo.repo,
workflow_id: 'release-lambda.yml',
ref: 'main'
})
3 changes: 1 addition & 2 deletions .github/workflows/release-lambda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
name: Release Lambda Layer

on:
repository_dispatch:
types: [trigger-lambda-release]
workflow_call:
workflow_dispatch:
inputs:
run_type:
Expand Down

0 comments on commit 6b76137

Please sign in to comment.