Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
new: Deploy docs to gh-pages. #2
Browse files Browse the repository at this point in the history
shaunthegeek committed May 28, 2019
1 parent 4f1e481 commit c3737b9
Showing 1 changed file with 30 additions and 2 deletions.
32 changes: 30 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -38,5 +38,33 @@ jobs: # a collection of steps
- run:
command: |
./build-docs.sh
ls
hub --help
deploy:
docker:
- image: circleci/php:7.2-node-browsers
working_directory: ~/laravel
steps:
- run:
name: Install and configure dependencies
command: |
npm install -g --silent gh-pages
git config user.email "sinkcup+cyborg@gmail.com"
git config user.name "Cyborg Girl"
- add_ssh_keys:
fingerprints:
- "8d:4d:a0:2f:19:d2:d9:8c:ed:83:2c:20:bc:aa:32:f0"
- run:
name: Deploy docs to gh-pages branch
command: gh-pages --dotfiles --message "[skip ci] Updates" --dist site

workflows:
version: 2
build-deploy:
jobs:
- build
- deploy:
requires:
- build
filters:
branches:
only: master

0 comments on commit c3737b9

Please sign in to comment.