Skip to content

Commit

Permalink
do not use env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
jGRUBBS committed Mar 7, 2024
1 parent b864251 commit 74566e1
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Trigger Partial Build
env:
WORKFLOW_ID: partial-build.yml
PACKAGE_NAME: kingandpartners/elastic-press
run: |
curl -L \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
"https://api.github.com/repos/kingandpartners/kingandpartners-composer/actions/workflows/$WORKFLOW_ID/dispatches" \
-d "{\"ref\":\"main\",\"inputs\":{\"package_name\":\"$PACKAGE_NAME\"}}"
https://api.github.com/repos/kingandpartners/kingandpartners-composer/actions/workflows/partial-build.yml/dispatches \
-d '{"ref":"main","inputs":{"package_name":"kingandpartners/elastic-press"}}'

0 comments on commit 74566e1

Please sign in to comment.