mirror of
https://github.com/jgthms/bulma
synced 2026-03-15 02:04:29 -07:00
Add Jekyll build
This commit is contained in:
9
.github/workflows/main.yml
vendored
9
.github/workflows/main.yml
vendored
@@ -8,11 +8,18 @@ jobs:
|
|||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
# Install NPM dependencies, cache them correctly
|
# Install NPM dependencies, cache them correctly
|
||||||
# and run all Cypress tests
|
# 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
|
- 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"
|
||||||
|
|||||||
Reference in New Issue
Block a user