diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..6c7acf7 --- /dev/null +++ b/.circleci/config.yml @@ -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 diff --git a/feed.xml b/feed.xml index 990c2f4..d8f3a99 100644 --- a/feed.xml +++ b/feed.xml @@ -1 +1 @@ -Jekyll2018-01-22T13:20:17-06:00https://projects.danielrayjones.com/danielrayjones/Dan JonesWeb developer, actor, all around good guyDan Jones \ No newline at end of file +Jekyll2018-01-22T14:22:07-06:00https://projects.danielrayjones.com/danielrayjones/Dan JonesWeb developer, actor, all around good guyDan Jones \ No newline at end of file