Skip to content

Commit

Permalink
ci: Add workflow to trigger Athena build
Browse files Browse the repository at this point in the history
Only runs on the main branch, uses a secret trigger token to build it
  • Loading branch information
paulgessinger committed Mar 14, 2023
1 parent b30b9b8 commit 6531aac
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/trigger_athena.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Trigger Athena build

on:
push:
branches:
- main
jobs:
trigger_athena_job:
runs-on: ubuntu-latest
steps:
- run: >
curl -X POST
--fail
-F token=${{ secrets.GITLAB_ATHENA_BUILD_TRIGGER_TOKEN}}
-F ref=main
https://gitlab.cern.ch/api/v4/projects/153873/trigger/pipeline

0 comments on commit 6531aac

Please sign in to comment.