Test other action

This commit is contained in:
Jeremy Thomas
2021-10-31 00:21:53 +01:00
parent ce8349d465
commit 20c86396fb

View File

@@ -6,15 +6,28 @@ jobs:
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v2
# Install NPM dependencies, cache them correctly # Use GitHub Actions' cache to cache dependencies on servers
# and run all Cypress tests - uses: actions/cache@v2
- uses: helaili/jekyll-action@v2
with: with:
token: ${{ secrets.GITHUB_TOKEN }} path: vendor/bundle
jekyll_src: "docs" key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
jekyll_build_options: restore-keys: |
host: 127.0.0.1 ${{ runner.os }}-gems-
port: 4000 - 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 - name: Cypress run
uses: cypress-io/github-action@v2 uses: cypress-io/github-action@v2
with: with: