Skip to content

Commit

Permalink
Merge pull request #147 from screwdriver-cd/tkyi-patch-1
Browse files Browse the repository at this point in the history
fix: Update guide to use new workflow
  • Loading branch information
d2lam authored Feb 23, 2018
2 parents b1c22b1 + e96499d commit 5d801c2
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 5d801c2

Please sign in to comment.