You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
app-state-diagram
1.2.2
This action generates ALPS app-state-diagram.
Required A config file path. Default: "asd.xml"
Required A profile file path. Default: "profile.xml"
https://github.com/koriym/alps-skeleton
- Save the following snippet as
.github/workflows/asd.yml
- 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: koriym/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
.
Configuring a publishing source for your GitHub Pages site. Make sure you set the source as gh-pages
and root (/)
.