diff --git a/screwdriver.yaml b/screwdriver.yaml index 612bc800..58d92c2c 100644 --- a/screwdriver.yaml +++ b/screwdriver.yaml @@ -1,17 +1,15 @@ -workflow: - - publish - - deploy - shared: image: ruby:2 jobs: main: + requires: [~pr, ~commit] steps: - bundle_install: bundle install - build: bundle exec jekyll build --source docs --destination _site publish: + requires: [main] environment: DOCKER_REPO: screwdrivercd/guide RELEASE_FILE: guide.tgz @@ -32,6 +30,7 @@ jobs: ./ci/docker-trigger.sh deploy: + requires: [publish] environment: DOCKER_REPO: screwdrivercd/guide K8S_CONTAINER: guide