Merge pull request #331 from EscolaLMS/feature/static #350
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Generate Styleguidist Documentation | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
swagger-gh-pages: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Instantiate package | |
uses: actions/checkout@v2 | |
- name: Install deps | |
run: yarn | |
- name: Generate styleguidist | |
run: yarn build | |
- name: Deploy to GitHub Pages | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: docs | |
cname: components.wellms.io |