Skip to content

Add FB4 Article

Add FB4 Article #183

Workflow file for this run

# Basic workflow
name: Build
# Controls when the action will run
# Workflow begins with push or PR events
# Focuses on the master branch only
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
# Jobs for setup, rendering, and publishing
# for the web site, using Python, Poetry,
# and the Quarto publishing system
jobs:
build-no-deploy:
runs-on: ubuntu-latest
steps:
# Repository
- name: Check out Repository
uses: actions/checkout@v3
with:
submodules: true
# Install Quarto
- name: Set up Quarto
uses: quarto-dev/quarto-actions/setup@v2
with:
# version: 1.3.450
version: 1.5.56
# Install Python
- name: Install Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
cache: "pip"
# Install Poetry
- name: Install Poetry
uses: abatilo/[email protected]
with:
poetry-version: 1.4.0
# Setup the Virtual Environment
- name: Setup Virtual Environment
run: |
poetry install
# Render the site without publishing
# Note that this uses Quarto to
# directly publish the site, which
# means that you do not use Netlify
# build minutes. This is great! Yet,
# it also means that you do not get
# a Netlify preview build for PRs.
- name: Render without Publishing
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
PYDEVD_DISABLE_FILE_VALIDATION: 1
run: |
quarto --version
# directly publish a version of the site to Netlify, using
# the optimize profile that will perform minification
poetry run quarto render --profile optimize