mirror of
https://github.com/jgthms/bulma.git
synced 2025-01-09 15:44:25 +00:00
Test custom setup
This commit is contained in:
parent
20c86396fb
commit
cca41fd513
40
.github/workflows/main.yml
vendored
40
.github/workflows/main.yml
vendored
@ -6,20 +6,19 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
# Use GitHub Actions' cache to cache dependencies on servers
|
# - uses: actions/cache@v2
|
||||||
- uses: actions/cache@v2
|
# with:
|
||||||
with:
|
# path: vendor/bundle
|
||||||
path: vendor/bundle
|
# key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
|
||||||
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
|
# restore-keys: |
|
||||||
restore-keys: |
|
# ${{ runner.os }}-gems-
|
||||||
${{ runner.os }}-gems-
|
# - name: Build & Deploy to custom branch
|
||||||
- name: Build & Deploy to custom branch
|
# uses: DavidS/jekyll-deploy@
|
||||||
uses: DavidS/jekyll-deploy@
|
# with:
|
||||||
with:
|
# source-dir: docs
|
||||||
source-dir: docs
|
# env:
|
||||||
env:
|
# JEKYLL_ENV: production
|
||||||
JEKYLL_ENV: production
|
# GH_PAGES_TOKEN: ${{ secrets.GH_PAGES_TOKEN }}
|
||||||
GH_PAGES_TOKEN: ${{ secrets.GH_PAGES_TOKEN }}
|
|
||||||
# - name: Jekyll Build
|
# - name: Jekyll Build
|
||||||
# uses: helaili/jekyll-action@v2
|
# uses: helaili/jekyll-action@v2
|
||||||
# with:
|
# with:
|
||||||
@ -28,6 +27,19 @@ 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: actions/setup-ruby@v1
|
||||||
|
with:
|
||||||
|
ruby-version: 2.7.x
|
||||||
|
- 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: Cypress run
|
- name: Cypress run
|
||||||
uses: cypress-io/github-action@v2
|
uses: cypress-io/github-action@v2
|
||||||
with:
|
with:
|
||||||
|
Loading…
Reference in New Issue
Block a user