Skip to content

Fixed mistype in word "specs" #29

Fixed mistype in word "specs"

Fixed mistype in word "specs" #29

Workflow file for this run

name: Build HTML content from source
on:
pull_request:
branches:
- '*'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup bundler cache
uses: actions/cache@v3
with:
key: ${{ runner.os }}-bundler-${{ hashFiles('Gemfile.lock') }}
path: .bundle/gems
- name: Setup build cache
uses: actions/cache@v3
with:
key: ${{ runner.os }}-build
path: __build
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.3'
- name: Install dependencies
run: |
bundle config set --local path '.bundle/gems'
bundle install
- name: Build with Middleman
run: |
mkdir -p __build
BUILD_OUTPUT="__build" bundle exec middleman build
- name: Generate HTML Preview
id: html_preview
uses: pavi2410/html-preview-action@v2
with:
html_file: '__build/index.html'
- name: Access preview
run: echo "${{steps.html_preview.outputs.url}}"