Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
kakasonz112 committed Dec 17, 2024
1 parent a01de2e commit 107e92b
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/gitbook.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: GitBook CI/CD

on:
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '16'

- name: Install GitBook CLI
run: npm install -g gitbook-cli

- name: Build GitBook
run: gitbook build

- name: Deploy (e.g., push to GitHub Pages)
run: |
# Add your deploy script here
# For example, deploy to GitHub Pages or a static hosting provider

0 comments on commit 107e92b

Please sign in to comment.