Skip to content

Remove condition from doc publish action #5

Remove condition from doc publish action

Remove condition from doc publish action #5

Workflow file for this run

name: Deploy Docusaurus site to GitHub Pages
on:
push:
tags:
- 'iv-viewer@*'
- 'react-iv-viewer@*'
jobs:
build-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '20'
- name: Install dependencies for documentation
run: yarn install
working-directory: documentation
- name: Build Docusaurus site
run: yarn build
working-directory: documentation
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: documentation/build