Skip to content

Commit

Permalink
ci: add an action to deploy the website
Browse files Browse the repository at this point in the history
  • Loading branch information
mr150 committed Jun 13, 2024
1 parent 12da695 commit 1f45c33
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
30 changes: 30 additions & 0 deletions .github/workflows/website.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Website

on:
pull_request:
branches:
- "ci/actions"
push:
branches:
- "ci/actions"

jobs:
deploy:
name: Deploy website to Github Pages
runs-on: ubuntu-latest
steps:
- name: Checkout Git repository
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v1
with:
node-version: 20
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build:docs
- name: Deploy to GH Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: "docs/styleguide"
2 changes: 1 addition & 1 deletion docs/homepage.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[![Build Status](https://travis-ci.com/mr150/mlut.svg?branch=master)](https://travis-ci.com/mr150/mlut)
[![](https://img.shields.io/npm/v/mlut.svg)](https://www.npmjs.com/package/mlut)

Atomic CSS toolkit with Sass and ergonomics for creating styles of any complexity <br> Get almost all power of CSS in one utility!
Atomic CSS toolkit with Sass and ergonomics for creating styles of any complexity <br> Get almost all power of CSS in one utility!!!

<img class="D Mb4gg" alt="GIF animation with usage example" src="kss-assets/jit-demo.gif"/>

Expand Down

0 comments on commit 1f45c33

Please sign in to comment.