Skip to content

Merge pull request #2172 from tf/list-item-overflow #848

Merge pull request #2172 from tf/list-item-overflow

Merge pull request #2172 from tf/list-item-overflow #848

Workflow file for this run

name: docs
on:
push:
branches:
- master
tags:
- v*
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Create required ignored seed.json
run: "echo '{}' > ./entry_types/scrolled/package/.storybook/seed.json"
- name: Build pageflow SassDoc
uses: codevise/[email protected]
with:
input: ./app/assets/stylesheets/pageflow/themes
output: ./out/theme/<ref>
theme: pageflow
themePackage: tf/sassdoc-theme-pageflow#dist
- name: Build pageflow JSDoc
uses: codevise/[email protected]
with:
input: "./package/src/editor ./package/src/ui ./package/src/testHelpers"
output: ./out/js/<ref>
config: ./package/documentation.yml
github: true
projectName: pageflow
sortOrder: alpha
theme: pageflow-documentation-js-theme
themePackage: codevise/pageflow-documentation-js-theme#master
- name: Build pageflow-scrolled JSDoc
uses: codevise/[email protected]
with:
input: ./entry_types/scrolled/package/src ./entry_types/scrolled/package/spec/support
output: ./out/scrolled/js/<ref>
config: ./entry_types/scrolled/package/documentation.yml
github: true
projectName: pageflow-scrolled
sortOrder: alpha
theme: pageflow-documentation-js-theme
themePackage: codevise/pageflow-documentation-js-theme#master
- name: Deploy
run: |
wget https://raw.githubusercontent.com/peaceiris/actions-gh-pages/v2/entrypoint.sh
bash ./entrypoint.sh
env:
PERSONAL_TOKEN: ${{ secrets.CODEVISE_BOT_PERSONAL_TOKEN }}
PUBLISH_BRANCH: master
PUBLISH_DIR: ./out
EXTERNAL_REPOSITORY: codevise/pageflow-docs
INPUT_KEEPFILES: true
INPUT_COMMITMESSAGE: "Update docs"
INPUT_USERNAME: "codevise-bot"
INPUT_USEREMAIL: "[email protected]"