-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcircle.yml
29 lines (26 loc) · 858 Bytes
/
circle.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# machine:
# ruby:
# version: "2.4"
# general:
# branches:
# only:
# - master
# checkout:
# post:
# - git submodule sync
# - git submodule update --init --recursive --remote # use submodules
# - gem install htmlbeautifier
# test:
# override:
# - git fetch
# - git config --global user.email "[email protected]" && git config --global user.name "Benjamin Bot"
# # Publish the Github Pages Site
# - mv jekyll/* .
# - rm -rf jekyll
# - ruby ./bin/toc.rb
# - ruby ./bin/format_page.rb
# - git status || true
# - git add --all . || true
# - git commit -m 'Build jekyll site' || true
# - git remote add gitlab [email protected]:benjamin/continuous-learning.git || true
# - ssh-agent bash -c 'ssh-add ~/.ssh/id_circleci_github; git push gitlab HEAD:gh-pages -f' || true