Skip to content

BilelJegham/action-couscous

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Action-couscous

release license

Couscous Artefact Couscous GithubPage

Couscous turns Markdown documentation into websites. http://couscous.io/

This is a GitHub Action to generate couscous websites. View : https://bileljegham.github.io/actions-couscous/

Getting started

Add your workflow file, the following step

  - uses: BilelJegham/actions-couscous@v0

Examples

Publish on GithubPage

name: Couscous GithubPage

on:
  push:
    branches:
      - master

jobs:
  deploy:
    runs-on: ubuntu-18.04
    steps:
      - uses: actions/checkout@v1

      - uses: BilelJegham/action-couscous@v0
      - name: Deploy
        uses: peaceiris/actions-gh-pages@v3
        with:
          github_token: ${{ secrets.GITHUB_TOKEN }}
          publish_dir: ./.couscous/generated

Artefact zip

Generate zip artefact with the generate website.

name: Couscous Artefact

on:
  push:
    branches:
      - master

jobs:
  deploy:
    runs-on: ubuntu-18.04
    steps:
      - uses: actions/checkout@v1

      - uses: BilelJegham/action-couscous@v0

      - name: Upload artifact
        uses: actions/[email protected]
        with:
          # Artifact name
          name: Couscous
          # Directory containing files to upload
          path: .couscous/generated

License

Couscous is released under the MIT License.