-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Ben Robson
committed
Jun 5, 2024
1 parent
151a3b1
commit 12747c6
Showing
2 changed files
with
41 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# This workflow will generate and deploy a Docusaurus site | ||
|
||
name: Generate and Deploy Docusaurus Documentation | ||
|
||
on: | ||
push: | ||
branches: [docs] # Change to your main branch name | ||
# pull_request: | ||
# branches: [main] # Change to your main branch name | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
submodules: recursive | ||
|
||
- name: Set up Node.js | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: "14" # Change to the Node.js version compatible with Docusaurus | ||
|
||
- name: Install Docusaurus | ||
run: npm install docusaurus -g | ||
|
||
- name: Install dependencies | ||
run: npm i | ||
|
||
- name: Build Docusaurus site | ||
run: npm run build | ||
|
||
- name: Deploy 🚀 | ||
uses: JamesIves/[email protected] | ||
with: | ||
branch: gh-pages | ||
folder: build |
This file was deleted.
Oops, something went wrong.