Skip to content

Use jekyll-postcss-v2 to prune tailwind using _site #87

Use jekyll-postcss-v2 to prune tailwind using _site

Use jekyll-postcss-v2 to prune tailwind using _site #87

Workflow file for this run

name: Build to gh-pages
on:
push:
branches:
- master
jobs:
github-pages:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2'
- uses: actions/setup-node@v3
with:
node-version: 22.2
- name: yarn install
run: |
yarn install --frozen-lockfile
- name: Install PlantUML and libvips
env:
PLANTUML_JAR: https://github.com/plantuml/plantuml/releases/download/v1.2023.13/plantuml-1.2023.13.jar
run: |
sudo apt-get update -y
sudo apt-get install -y plantuml libvips
wget $PLANTUML_JAR -O plantuml.jar
sudo mv plantuml.jar /usr/share/plantuml/plantuml.jar
- name: Build site
uses: limjh16/jekyll-action-ts@v2
with:
enable_cache: true
format_output: true
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_site