diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml new file mode 100644 index 00000000..b7b84e4b --- /dev/null +++ b/.github/workflows/website.yml @@ -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" diff --git a/docs/homepage.md b/docs/homepage.md index d00497db..70c20c3e 100644 --- a/docs/homepage.md +++ b/docs/homepage.md @@ -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
Get almost all power of CSS in one utility! +Atomic CSS toolkit with Sass and ergonomics for creating styles of any complexity
Get almost all power of CSS in one utility!!! GIF animation with usage example