Skip to content

Commit

Permalink
Integrate with FeaturePeek
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonbarry committed Oct 2, 2020
1 parent 6ebce28 commit 0f0f47d
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/featurepeek.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Build and Ping FeaturePeek
on: [push, pull_request]
jobs:
jekyll:
name: "Build and Ping FeaturePeek"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up Ruby 2.6
uses: actions/setup-ruby@v1
with:
ruby-version: 2.6.x
- uses: actions/cache@v1
with:
path: vendor/bundle
key: ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-gem-
- name: Installing ruby gems
run: |
bundle check --path=vendor/bundle || bundle install --path=vendor/bundle --jobs=4 --retry=3
- name: Building Site
run: |
bundle exec jekyll build
- name: Ping FeaturePeek
run: bash <(curl -s https://peek.run/ci)
5 changes: 5 additions & 0 deletions peek.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
version: 2
main:
type: static
path: _site
spa: false

0 comments on commit 0f0f47d

Please sign in to comment.