Skip to content
Discussion options

You must be logged in to vote

I think the time resource would make a good trigger.

jobs:
  - name: manually-triggered-job
    plan:
      - get: manual
        trigger: true
      - task: some-task
        config:
          platform: linux
          image_resource:
            type: registry-image
            source: { repository: alpine }
          inputs: [ name: manual ]
          run:
            path: sh
            args:
            - -ec
            - |
              cat manual/input
resources:
  - name: manual
    type: time
    source: { interval: 1s } # ensure there is a new version each time we check manually
    check_every: never
    webhook_token: supers3cret

Assmuming this pipeline was set as

$ fly --ta…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@achille1789
Comment options

Answer selected by achille1789
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants