Skip to content

Commit

Permalink
added deploy_docs
Browse files Browse the repository at this point in the history
  • Loading branch information
bmandracchia committed Oct 2, 2024
1 parent 2f9495a commit 8e8ee1a
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/deploy_docs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Deploy Docs to GitHub Pages

on:
push:
branches:
- main
- nightly

jobs:
deploy:
runs-on: ubuntu-latest

steps:
- name: Checkout the repository
uses: actions/checkout@v3

- name: Set up Node.js (optional, if you need it for building docs)
uses: actions/setup-node@v3
with:
node-version: '16'

- name: Install dependencies (if needed)
run: npm install

- name: Build documentation (if your docs need building)
run: npm run build-docs # or any other command to build docs

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_docs
publish_branch: gh-pages

0 comments on commit 8e8ee1a

Please sign in to comment.