From 20c86396fb7fff0d54cbad170f635d2530da8c00 Mon Sep 17 00:00:00 2001 From: Jeremy Thomas Date: Sun, 31 Oct 2021 00:21:53 +0100 Subject: [PATCH] Test other action --- .github/workflows/main.yml | 29 +++++++++++++++++++++-------- 1 file changed, 21 insertions(+), 8 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 50663738..fdee07a1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -6,15 +6,28 @@ jobs: steps: - name: Checkout uses: actions/checkout@v2 - # Install NPM dependencies, cache them correctly - # and run all Cypress tests - - uses: helaili/jekyll-action@v2 + # Use GitHub Actions' cache to cache dependencies on servers + - uses: actions/cache@v2 with: - token: ${{ secrets.GITHUB_TOKEN }} - jekyll_src: "docs" - jekyll_build_options: - host: 127.0.0.1 - port: 4000 + path: vendor/bundle + key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }} + restore-keys: | + ${{ runner.os }}-gems- + - name: Build & Deploy to custom branch + uses: DavidS/jekyll-deploy@ + with: + source-dir: docs + env: + JEKYLL_ENV: production + GH_PAGES_TOKEN: ${{ secrets.GH_PAGES_TOKEN }} + # - name: Jekyll Build + # uses: helaili/jekyll-action@v2 + # with: + # token: ${{ secrets.GITHUB_TOKEN }} + # jekyll_src: "docs" + # jekyll_build_options: + # host: 127.0.0.1 + # port: 4000 - name: Cypress run uses: cypress-io/github-action@v2 with: