Skip to content

Commit

Permalink
version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Robson committed Jun 5, 2024
1 parent 0343d6e commit 66fe7da
Showing 1 changed file with 9 additions and 15 deletions.
24 changes: 9 additions & 15 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ name: Generate and Deploy Docusaurus Documentation

on:
push:
branches:
- docs # Change to your main branch name
branches: [docs] # Change to your main branch name
# pull_request:
# branches: [main] # Change to your main branch name

Expand All @@ -17,31 +16,26 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Checkout Repository
uses: actions/checkout@v2
- uses: actions/checkout@v2
with:
submodules: recursive

- name: Set up Node.js
uses: actions/setup-node@v3
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@latest -g
run: npm install docusaurus -g

- name: Install Dependencies
- name: Install dependencies
run: npm ci

- name: Build Docusaurus site
run: npm run build

- name: Deploy 🚀
uses: actions/checkout@v2
uses: JamesIves/[email protected]
with:
repository: JamesIves/github-pages-deploy-action
ref: v4.4.1
env:
NODE_VERSION: "14"
GH_PAGES_BRANCH: gh-pages
FOLDER: build
branch: gh-pages
folder: build

0 comments on commit 66fe7da

Please sign in to comment.