Skip to content

alyxshang/mandy-github-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

MANDY GITHUB ACTION ✨ πŸ”₯

A GitHub action to build your Mandy-powered project! ✨ πŸ”₯

ABOUT πŸ“š

This repository contains the source code for a GitHub Action for compiling Mandy-powered websites! To learn how to use this GitHub Action for your own Mandy project, read the section below! You can find the repository for the Mandy project here.

USAGE βš’οΈ

To use this GitHub Action for your own Mandy-powered project, execute these steps.

  • 1.) Go to your Mandy project's root directory and create a directory called .github.

  • 2.) Inside this directory, create another directory called workflows.

  • 3.) Inside workflows create a file called main.yml.

  • 4.) Put the following into main.yml

  • For using stable releases of Mandy:

on: [push]
name: Mandy Site Build CI
env:
  MANDY_ENV: production
name: Mandy CI
jobs:
  build_and_test:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: alyxshang/mandy-github-action@v.0.1.0
      - name: "Build the Mandy site."
        run: mandy -c .
  • 5.) This will build your Mandy-powered site into a directory called dist.
  • 6.) You can also add a badge to your README, just like with other actions.
  • 7.) Enjoy! ❀️

NOTE πŸ“œ

  • Mandy Github Action ✨ πŸ”₯ by Alyx Shang πŸ–€.
  • Licensed under the FSL v1.

About

A GitHub action to build your Mandy-powered project! ✨ πŸ”₯

Topics

Resources

License

Stars

Watchers

Forks