-
-
Save nbialostosky/9c80a7cb0bac7b77a0a3d90fd87a8e9d to your computer and use it in GitHub Desktop.
This file contains 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
version: 2.1 | |
setup: true | |
parameters: | |
scheduled-workflow: | |
type: boolean | |
default: false | |
orbs: | |
continuation: circleci/continuation@0.1.3 | |
jobs: | |
schedule-job: | |
docker: | |
- image: cimg/base:stable | |
steps: | |
- run: echo "this should only run on a schedule" | |
workflows: | |
use-my-orb: | |
when: | |
equal: [false, << pipeline.parameters.scheduled-workflow >>] | |
jobs: | |
- continuation/continue: | |
configuration_path: ./config.yml | |
scheduled-workflow: | |
when: << pipeline.parameters.scheduled-workflow >> | |
jobs: | |
- schedule-job |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment