Skip to content

updated packages/dependencies (#37) #35

updated packages/dependencies (#37)

updated packages/dependencies (#37) #35

Workflow file for this run

name: Build and Deploy Docs
on:
workflow_dispatch:
push:
branches:
- main
jobs:
build-and-deploy:
name: Build and Deploy Docs
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Configure Git
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
- name: Set Up Node
uses: actions/setup-node@v4
with:
node-version: 18
cache: npm
- name: Install Dependencies
run: npm ci
- name: Build Docs
run: npm run build
- name: Deploy Docs to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build
cname: docs.hauler.dev
user_name: github-actions[bot]
user_email: github-actions[bot]@users.noreply.github.com