Skip to content

Commit

Permalink
[website]: update readme, docs, website (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
DarhkVoyd authored Dec 17, 2024
1 parent de44af4 commit f1a6d51
Show file tree
Hide file tree
Showing 55 changed files with 475 additions and 887 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: Deploy Docs
name: Deploy Website

on:
push:
branches: ["main"]
paths:
- "docs/**"
- "website/**"

workflow_dispatch:

Expand Down Expand Up @@ -36,7 +36,7 @@ jobs:
uses: actions/cache@v4
with:
path: |
docs/.next/cache
website/.next/cache
# Generate a new cache whenever packages or source files change.
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json', '**/yarn.lock', '**/bun.lockb') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx') }}
# If source files changed but packages didn't, rebuild from a prior cache.
Expand All @@ -46,17 +46,17 @@ jobs:
- name: Install dependencies
run: |
source $GITHUB_ENV
cd docs && bun install
cd website && bun install
- name: Build with Next.js
run: |
source $GITHUB_ENV
cd docs && bun run build
cd website && bun run build
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: docs/out
path: website/out

deploy:
environment:
Expand Down
10 changes: 9 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# MacOS
# OS
**/.DS_Store
*.pem

# Logs
logs
Expand All @@ -14,8 +15,15 @@ node_modules/
# Build
dist
*.zip
build

# Environment variables & secrets
.env
.env.local
.env.*.local

# next.js
.vercel
**/.next/
**/out/
next-env.d.ts
156 changes: 0 additions & 156 deletions CONTRIBUTING.md

This file was deleted.

Loading

0 comments on commit f1a6d51

Please sign in to comment.