Skip to content

Merge pull request #27 from UniversalDot/stojanov-igor-patch-1 #36

Merge pull request #27 from UniversalDot/stojanov-igor-patch-1

Merge pull request #27 from UniversalDot/stojanov-igor-patch-1 #36

Workflow file for this run

name: Deploy Docs to universaldot.github.io
on:
workflow_dispatch:
push:
branches: [ master ]
jobs:
deploy-docs:
runs-on: ubuntu-20.04
strategy:
matrix:
node-version: [ 14.x ]
steps:
- uses: actions/checkout@v2
# - uses: actions/setup-node@v2
# with:
# node-version: ${{ matrix.node-version }}
# cache: 'yarn'
- name: Install Yarn dependencies
working-directory: ./wiki
run: yarn install
- name: Build Docusaurus
working-directory: ./wiki
run: yarn build
- name: Deploy build directory to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
external_repository: UniversalDot/universaldot.github.io
publish_branch: master
publish_dir: ./wiki/build