Skip to content

MAF-19235: feat(deploy): bump odin to v0.8.0-rc.1 (#83) #20

MAF-19235: feat(deploy): bump odin to v0.8.0-rc.1 (#83)

MAF-19235: feat(deploy): bump odin to v0.8.0-rc.1 (#83) #20

Workflow file for this run

name: docs-production-deploy
on:
push:
branches:
- main
paths:
- "website/**"
jobs:
build:
name: Build Docusaurus
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
defaults:
run:
working-directory: website
env:
ORGANIZATION_NAME: "moreh-dev"
PROJECT_NAME: "test-docs.moreh.io"
DEPLOYMENT_BRANCH: "main"
GIT_USER: "gitgod-bot"
GIT_USER_NAME: "gitgod"
GIT_USER_EMAIL: "gitgod@moreh.io"
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
cache: "npm"
cache-dependency-path: website/package-lock.json
- name: Install dependencies
run: npm ci
- name: Deploy to GitHub Pages
env:
GIT_PASS: ${{ secrets.MIF_DOCS_TOKEN }}
run: npm run deploy