From ce8349d4652bf02f330130167895d5bd09367683 Mon Sep 17 00:00:00 2001 From: Jeremy Thomas Date: Sun, 31 Oct 2021 00:06:32 +0100 Subject: [PATCH] Add Jekyll build --- .github/workflows/main.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ffbef2b4..50663738 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,11 +8,18 @@ jobs: uses: actions/checkout@v2 # Install NPM dependencies, cache them correctly # and run all Cypress tests + - 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: working-directory: docs install-command: npm install build: npm run bulma-sass - start: JEKYLL_ENV=production jekyll serve --host 127.0.0.1 --port 4000 + # start: JEKYLL_ENV=production jekyll serve --host 127.0.0.1 --port 4000 wait-on: "http://127.0.0.1:4000"