Skip to content

alps-asd/asd-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

app-state-diagram action

This action generates ALPS app-state-diagram.

Inputs

config

Required A config file path. Default: "asd.xml"

profile

Required A profile file path. Default: "profile.xml"

Start from the skeleton

https://github.com/alps-asd/alps-skeleton

Manual Setup

  1. Save the following snippet as .github/workflows/asd.yml
  2. Create profile.xml and git push to GitHub

asd.yml

name: ASD documents

on: push

jobs:
  asd:
    runs-on: ubuntu-latest
    name: ASD documents
    steps:
      - name: Checkout
        uses: actions/checkout@v2

      - name: Generates ASD documents
        uses: alps-asd/asd-action@v1
        id: asd
        with:
          config: asd.xml
          profile: profile.xml

      - name: Deploy
        uses: peaceiris/actions-gh-pages@v3
        with:
          github_token: ${{ secrets.GITHUB_TOKEN }}
          publish_dir: ${{ steps.asd.outputs.dir}}
          destination_dir: ${{ steps.asd.outputs.dir}}

Each time you commit, the ASD documents will be generated in gh-pages.

Setup GH pages

Configuring a publishing source for your GitHub Pages site. Make sure you set the source as gh-pages and root (/).