Skip to content

Commit

Permalink
Move docs to GitHub Pages (ordinals#515)
Browse files Browse the repository at this point in the history
  • Loading branch information
casey committed Sep 16, 2022
1 parent 1a51e1f commit 3f4dd96
Show file tree
Hide file tree
Showing 21 changed files with 635 additions and 201 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/build-docs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Build Docs

on:
pull_request:
branches:
- master

defaults:
run:
shell: bash

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: shalzz/[email protected]
env:
BUILD_DIR: docs
BUILD_ONLY: true
BUILD_FLAGS: --drafts
20 changes: 20 additions & 0 deletions .github/workflows/deploy-docs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Deploy Docs

on:
push:
branches:
- master

defaults:
run:
shell: bash

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: shalzz/[email protected]
env:
BUILD_DIR: docs
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/.idea/
/.vagrant
/benchmark
/docs/public
/index.lmdb
/index.redb
/ord.log
Expand Down
Loading

0 comments on commit 3f4dd96

Please sign in to comment.