Skip to content

refine styles

refine styles #158

Workflow file for this run

name: Build and deploy site to GitHub Pages
on:
push:
branches: [ "master" ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4.2.2
- name: Setup Ruby
uses: ruby/setup-ruby@v1.253.0
with:
ruby-version: '3.3.5'
bundler-cache: true
- name: Setup Node.js
uses: actions/setup-node@v4.4.0
with:
node-version: '22.10.0'
cache: 'npm'
- name: Install Node.js packages
run: npm ci # clean install
- name: Build stylesheets using Tailwind CSS
run: npm run-script tailwindcss -- --minify
- name: Build React components using Webpack
env:
MATOMO_URL: mwa-acf.2.rahtiapp.fi
MATOMO_TAG_MANAGER_CONTAINER: jyLY2YKH
run: npm run-script webpack -- --mode=production
- name: Build site using Jekyll
env:
JEKYLL_ENV: production
run: npm run-script jekyll:build
- name: Upload artifact
id: deployment
uses: actions/upload-pages-artifact@v3.0.1
with:
path: dist/
deploy:
runs-on: ubuntu-latest
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4.0.5