Skip to content

Commit

Permalink
Added the docs deployment GH action
Browse files Browse the repository at this point in the history
  • Loading branch information
nunix committed Feb 29, 2024
1 parent 52b92a4 commit 4b4de1b
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
27 changes: 27 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: GitHub Pages

on:
push:
branches:
- main

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout main docs repo
uses: actions/checkout@v3
- name: Setup Docusaurus
uses: actions/setup-node@v3
with:
node-version: 18.x
cache: yarn
- name: Build website
run: |
yarn install --frozen-lockfile
yarn build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build
2 changes: 1 addition & 1 deletion docs/01.basics/01.basics.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: NeuVector Docs
title: ""
sidebar_label: 1. Basics
taxonomy:
category: docs
Expand Down

0 comments on commit 4b4de1b

Please sign in to comment.