Skip to content

Commit

Permalink
feat: add docusaurus build workflow (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
zivkovicmilos committed Apr 10, 2024
1 parent 98bd911 commit 2467182
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Build Docusaurus

on:
pull_request:
branches:
- '*'
push:
branches:
- '*'

jobs:

build_docs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '18'

- name: Run download-docs script
run: |
chmod +x ./scripts/download-docs.sh
./scripts/download-docs.sh
shell: bash

- name: Install Docusaurus Dependencies
run: |
cd docusaurus
yarn install
- name: Build Docusaurus Docs
run: |
cd docusaurus
yarn build
Empty file modified scripts/download-docs.sh
100644 → 100755
Empty file.

0 comments on commit 2467182

Please sign in to comment.