From 5903d62ff6884a4045d1e16af420e69a67a8ab38 Mon Sep 17 00:00:00 2001 From: Jeremy Thomas Date: Sun, 31 Oct 2021 00:47:09 +0100 Subject: [PATCH] Use other ruby action --- .github/workflows/main.yml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d6a0f677..227b2bf1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -27,24 +27,23 @@ jobs: # jekyll_build_options: # host: 127.0.0.1 # port: 4000 - - name: Set up Ruby 2.7 - uses: actions/setup-ruby@v1 + - uses: ruby/setup-ruby@v1 with: - ruby-version: 2.7.x + ruby-version: 2.7 - name: Install dependencies env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | gem install jekyll bundler - - name: Launch Jekyll server - run: | - cd docs - JEKYLL_ENV=production jekyll serve --host 127.0.0.1 --port 4000 + # - name: Launch Jekyll server + # run: | + # cd docs + # JEKYLL_ENV=production jekyll serve --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"