---
- scm:
    name: smokey_Smokey_Deploy
    scm:
        - git:
            url: git@github.com:alphagov/smokey.git
            branches:
              - main

- job:
    name: Smokey_Deploy
    display-name: Smokey_Deploy
    project-type: freestyle
    properties:
        - build-discarder:
            days-to-keep: 30
            artifact-num-to-keep: 5
        - github:
            url: https://github.com/alphagov/smokey/
    scm:
      - smokey_Smokey_Deploy
    builders:
        - shell: |
            export DEPLOY_TO=$(govuk_node_list -c monitoring)
            sh -x deploy.sh
        - trigger-builds:
            - project: Deploy_Smokey_Downstream
    triggers:
        - timed: |
            TZ=Europe/London
            H 9 * * *

---
- scm:
    name: smokey_Smokey_Deploy
    scm:
        - git:
            url: git@github.com:alphagov/smokey.git
            branches:
              - main

- job:
    name: Smokey_Deploy
    display-name: Smokey_Deploy
    project-type: freestyle
    properties:
        - build-discarder:
            days-to-keep: 30
            artifact-num-to-keep: 5
        - github:
            url: https://github.com/alphagov/smokey/
    scm:
      - smokey_Smokey_Deploy
    builders:
        - shell: |
            export DEPLOY_TO=$(govuk_node_list -c monitoring)
            sh -x deploy.sh
        - trigger-builds:
            - project: Deploy_Smokey_Downstream

Remove scheduled daily deploy of Smokey
Remove scheduled daily deploy of Smokey

We've now made it so that merging a Smokey PR will trigger a deploy of Smokey
so we don't need this anymore.
