Skip to content

Merge pull request #58 from hpcde/bump-to-docusaurus-v3.10 #1

Merge pull request #58 from hpcde/bump-to-docusaurus-v3.10

Merge pull request #58 from hpcde/bump-to-docusaurus-v3.10 #1

Workflow file for this run

# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Bun CI Build and Deploy
on:
push:
branches: [ master ]
# pull_request:
# branches: [ master ]
jobs:
build-docs-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
with:
bun-version: 1.3.12
- name: Install and Build
run: |
bun install
bun run build
env:
CI: true
DEPLOY_PATH: "/cluster-docs/"
DOC_GIT_REPO: "https://github.com/hpcde/cluster-docs"
USE_ALGOLIA_SEARCH: "ON"
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
force_orphan: true