Skip to content

Commit

Permalink
trying to pass variable to workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mdorier committed Jul 5, 2024
1 parent ba3f9b3 commit d8f927d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/polaris.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,8 @@ jobs:
steps:
- name: Trigger gitlab-ci
run: |
curl -X POST --fail -F token=${{ secrets.ALCF_GITLAB_CI_TOKEN }} -F ref=main \
curl -X POST --fail \
-F token=${{ secrets.ALCF_GITLAB_CI_TOKEN }} \
-F ref=main \
-F variables[MOFKA_GITHUB_SHA]=${{ github.sha }} \
https://gitlab-ci.alcf.anl.gov/api/v4/projects/122/trigger/pipeline

0 comments on commit d8f927d

Please sign in to comment.