Skip to content

Instantly share code, notes, and snippets.

@mactkg mactkg/config.yml
Last active Dec 20, 2017

Embed
What would you like to do?
version: 2
jobs:
# いつものbuildやtestはこの下に書いておく
build_and_test:
docker:
- image: circleci/ruby:2.4.1-node
environment:
RAILS_ENV: test
steps:
- checkout # やテストなど…。
# ここが今回のポイント
bundle_update:
docker:
- image: circleci/ruby:2.4.1-node
steps:
- checkout
- run:
name : bundle update
command: |
gem update bundler -N
gem install circleci-bundle-update-pr -N
circleci-bundle-update-pr ${BUNDLE_UPDATE_GITHUB_USERNAME} ${BUNDLE_UPDATE_GITHUB_EMAIL}
workflows:
version: 2
build:
jobs:
- build_and_test
auto_bundle_update:
triggers:
- schedule:
cron: "00 1 * * 1" # 毎週月曜日
filters:
branches:
only:
- master
jobs:
- bundle_update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.