Skip to content

Commit

Permalink
fix: Update guide to use new workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tkyi authored Feb 22, 2018
1 parent b1c22b1 commit e96499d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions screwdriver.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -32,6 +30,7 @@ jobs:
./ci/docker-trigger.sh
deploy:
requires: [publish]
environment:
DOCKER_REPO: screwdrivercd/guide
K8S_CONTAINER: guide
Expand Down

0 comments on commit e96499d

Please sign in to comment.