mirror of
https://github.com/jgthms/bulma.git
synced 2024-11-14 11:14:24 +00:00
Use other ruby action
This commit is contained in:
parent
cca41fd513
commit
5903d62ff6
15
.github/workflows/main.yml
vendored
15
.github/workflows/main.yml
vendored
@ -27,24 +27,23 @@ jobs:
|
|||||||
# jekyll_build_options:
|
# jekyll_build_options:
|
||||||
# host: 127.0.0.1
|
# host: 127.0.0.1
|
||||||
# port: 4000
|
# port: 4000
|
||||||
- name: Set up Ruby 2.7
|
- uses: ruby/setup-ruby@v1
|
||||||
uses: actions/setup-ruby@v1
|
|
||||||
with:
|
with:
|
||||||
ruby-version: 2.7.x
|
ruby-version: 2.7
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
gem install jekyll bundler
|
gem install jekyll bundler
|
||||||
- name: Launch Jekyll server
|
# - name: Launch Jekyll server
|
||||||
run: |
|
# run: |
|
||||||
cd docs
|
# cd docs
|
||||||
JEKYLL_ENV=production jekyll serve --host 127.0.0.1 --port 4000
|
# JEKYLL_ENV=production jekyll serve --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:
|
||||||
working-directory: docs
|
working-directory: docs
|
||||||
install-command: npm install
|
install-command: npm install
|
||||||
build: npm run bulma-sass
|
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"
|
wait-on: "http://127.0.0.1:4000"
|
||||||
|
Loading…
Reference in New Issue
Block a user