Created
April 24, 2025 20:19
-
-
Save karthikeyan-mac/647fa6133c9631856b091c7803897fe6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # GitLab Runner config for Jamf Pro Notifications Alerter | |
| # https://github.com/alectrona/jamf-pro-notifications-alerter | |
| # .gitlab-ci.yml | |
| stages: | |
| - development | |
| - production | |
| development: | |
| stage: development | |
| script: | |
| - chmod +x $CI_PROJECT_DIR/jamf-pro-notifications-alerter-Dev.sh | |
| - $CI_PROJECT_DIR/jamf-pro-notifications-alerter-Dev.sh --url $DevURL | |
| rules: | |
| - if: $CI_PIPELINE_SOURCE == "schedule" | |
| - if: $CI_PIPELINE_SOURCE == "trigger" | |
| production: | |
| stage: production | |
| script: | |
| - chmod +x $CI_PROJECT_DIR/jamf-pro-notifications-alerter.sh | |
| - $CI_PROJECT_DIR/jamf-pro-notifications-alerter.sh --url $ProdURL | |
| rules: | |
| - if: $CI_PIPELINE_SOURCE == "schedule" | |
| - if: $CI_PIPELINE_SOURCE == "trigger" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment