diff --git a/.github/workflows/featurepeek.yml b/.github/workflows/featurepeek.yml new file mode 100644 index 0000000000..bdc6de75a1 --- /dev/null +++ b/.github/workflows/featurepeek.yml @@ -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) diff --git a/peek.yml b/peek.yml new file mode 100644 index 0000000000..e0e0809fc5 --- /dev/null +++ b/peek.yml @@ -0,0 +1,5 @@ +version: 2 +main: + type: static + path: _site + spa: false \ No newline at end of file