Skip to content

Commit

Permalink
Revert "Set the secret as an environment variable in the workflow file"
Browse files Browse the repository at this point in the history
This reverts commit fa33d28.
  • Loading branch information
lmoellendorf committed Feb 15, 2024
1 parent fa33d28 commit 38a8b99
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/trigger-gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ on: [push]

jobs:
trigger-gitlab-ci:
runs-on: ubuntu-latest
steps:
- name: Trigger CI
env:
TRIGGER_GITLAB_CI: ${{ secrets.trigger_gitlab_ci }}
run: curl -X POST --fail -F token=${{ TRIGGER_GITLAB_CI }} -F ref=main https://gitlab.com/api/v4/projects/54782732/trigger/pipeline
runs-on: ubuntu-latest
steps:
- name: Trigger CI
run: curl -X POST --fail -F token=${{ secrets.trigger_gitlab_ci }} -F ref=main https://gitlab.com/api/v4/projects/54782732/trigger/pipeline

0 comments on commit 38a8b99

Please sign in to comment.