Skip to content

Update to use the TailwindCSS standalone CLI #12

Update to use the TailwindCSS standalone CLI

Update to use the TailwindCSS standalone CLI #12

Workflow file for this run

name: Publish to Github Pages
on:
workflow_dispatch:
push:
branches:
- main
jobs:
build:
name: Publish to GitHub Pages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# Download and run TailwindCSS
- name: TailwindCSS Build
run: |
curl -sLO https://github.com/tailwindlabs/tailwindcss/releases/download/v3.2.4/tailwindcss-linux-x64
chmod +x tailwindcss-linux-x64
mv tailwindcss-linux-x64 /usr/local/bin/tailwindcss
tailwindcss -i src-styles/base.scss -o static/styles/main.css --minify
- name: Zola Deploy
uses: shalzz/zola-deploy-action@master
env:
PAGES_BRANCH: gh-pages
BUILD_DIR: .
TOKEN: ${{ secrets.TOKEN }}