Skip to content

fix popup block flow issue (#3545) #56

fix popup block flow issue (#3545)

fix popup block flow issue (#3545) #56

Workflow file for this run

name: Documentation
on:
push:
branches:
- master
# manually trigger a package build from the Actions tab
workflow_dispatch:
jobs:
docs:
runs-on: ubuntu-latest
# only deploy docs if the workflow is running on the master branch
if: github.ref == 'refs/heads/master'
steps:
- name: 🛎️ Checkout
uses: actions/checkout@v2 # If you're using actions/checkout@v2 you must set persist-credentials to false in most cases for the deployment to work correctly.
with:
persist-credentials: false
- name: 🔧 Setup
uses: actions/setup-node@v1
with:
node-version: "16.14.2"
- name: 🔧 Configure
run: cp oli.example.env oli.env
- name: 🧪 Setup Elixir
uses: erlef/setup-elixir@v1
with:
elixir-version: 1.14.0 # Define the elixir version [required]
otp-version: 24.0 # Define the OTP version [required]
- name: ⬇️ Install Elixir Dependencies
run: mix deps.get
- name: 🔨📦 Build Dependencies
run: mix deps.compile
- name: Install node_module dependencies 📦
run: npm install -g yarn && cd assets && yarn
- name: Build client-side API markdown docs
run: cd assets && npx typedoc --tsconfig tsconfig.sdk.json --plugin typedoc-plugin-markdown --out typedocs src/components/activities/index.ts
- name: 🔨📄 Build Docs
run: mix docs
- name: 🔨📖 Build client-side storybook docs
run: cd assets && yarn build-storybook
- name: 🚀 Deploy Docs
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: doc # The folder the action should deploy.