2018-01-22T20:22:10+0000 Deploy new site

This commit is contained in:
Circle CI 2018-01-22 20:22:10 +00:00
commit 31d558bce8
2 changed files with 38 additions and 1 deletions

37
.circleci/config.yml Normal file
View file

@ -0,0 +1,37 @@
version: 2
jobs:
build:
branches:
only: [master]
working_directory: /tmp/danielrayjones
machine:
enabled: true
steps:
- checkout
- run:
name: Configure git user
command: |
echo "$GITHUB_SSH_KEY" | base64 --decode -i > ~/.ssh/id_rsa
ssh-add -D
ssh-add ~/.ssh/id_rsa
git config --global user.email "ci@danielrayjones.com"
git config --global user.name "Circle CI"
- run:
name: Install dependencies
command: bundle install
- run:
name: Creating build directory
command: git clone -b gh-pages `git remote get-url origin` _site
- run:
name: Build site
command: bundle exec jekyll build
- run:
name: No Jekyll
command: touch _site/.nojekyll
- run:
name: Deploy site
command: |
cd _site
git add -A
git commit -m "$(date --iso-8601=seconds) Deploy new site"
git push

View file

@ -1 +1 @@
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.6.2">Jekyll</generator><link href="https://projects.danielrayjones.com/danielrayjones/feed.xml" rel="self" type="application/atom+xml" /><link href="https://projects.danielrayjones.com/danielrayjones/" rel="alternate" type="text/html" /><updated>2018-01-22T13:20:17-06:00</updated><id>https://projects.danielrayjones.com/danielrayjones/</id><title type="html">Dan Jones</title><subtitle>Web developer, actor, all around good guy</subtitle><author><name>Dan Jones</name></author></feed> <?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.6.2">Jekyll</generator><link href="https://projects.danielrayjones.com/danielrayjones/feed.xml" rel="self" type="application/atom+xml" /><link href="https://projects.danielrayjones.com/danielrayjones/" rel="alternate" type="text/html" /><updated>2018-01-22T14:22:07-06:00</updated><id>https://projects.danielrayjones.com/danielrayjones/</id><title type="html">Dan Jones</title><subtitle>Web developer, actor, all around good guy</subtitle><author><name>Dan Jones</name></author></feed>