Merge pull request #2511 from dictyBase/dependabot/npm_and_yarn/apoll… #984
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: Styleguide Build | |
on: | |
push: | |
branches: | |
- develop | |
jobs: | |
build-and-deploy-styleguide: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: checkout code | |
uses: actions/checkout@v4 | |
- name: install and build styleguide | |
run: | | |
mv src/common/utils/clientConfig.sample.ts src/common/utils/clientConfig.ts | |
yarn install | |
yarn styleguide:build | |
- name: deploy to gh-pages | |
uses: peaceiris/[email protected] | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_branch: gh-pages | |
publish_dir: ./styleguide |