Skip to content
This repository has been archived by the owner on Mar 11, 2024. It is now read-only.

Move font-display: swap to @font-face #19

Move font-display: swap to @font-face

Move font-display: swap to @font-face #19

Workflow file for this run

name: Publish
on:
push:
branches:
- master
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
# Allow one concurrent deployment
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: '20.x'
- name: Setup ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: '3.1'
- name: Install ruby dependencies
run: bundle install
- name: Build site
run: bundle exec middleman build
- name: Setup Pages
id: pages
uses: actions/configure-pages@v4
- name: Upload artifact
# Automatically uploads an artifact from the './_site' directory by default
uses: actions/upload-pages-artifact@v3
with:
path: 'build'
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4