Skip to content

Commit

Permalink
chore(docs): Deploy docs to GitHub pages
Browse files Browse the repository at this point in the history
  • Loading branch information
fb55 committed Dec 31, 2020
1 parent adef5b4 commit e583311
Show file tree
Hide file tree
Showing 16 changed files with 151 additions and 971 deletions.
3 changes: 0 additions & 3 deletions .eslintignore

This file was deleted.

39 changes: 39 additions & 0 deletions .github/workflows/site.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Deploy to GitHub Pages
on:
push:
branches:
- main

env:
CI: true
FORCE_COLOR: 2
NODE: 14

jobs:
deploy:
name: Deploy to GitHub Pages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "${{ env.NODE }}"
- name: Set up npm cache
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-v${{ env.NODE }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }}
restore-keys: |
${{ runner.OS }}-node-v${{ env.NODE }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }}
${{ runner.OS }}-node-v${{ env.NODE }}-
- run: npm ci
- name: Build docs
run: npm run build:docs
- name: Deploy
uses: s0/[email protected]
env:
REPO: self
BRANCH: gh-pages
FOLDER: docs
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SKIP_EMPTY_COMMITS: true
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.vscode/
docs/
node_modules/
coverage/
lib/
3 changes: 0 additions & 3 deletions .prettierignore

This file was deleted.

17 changes: 0 additions & 17 deletions docs/README.md

This file was deleted.

55 changes: 0 additions & 55 deletions docs/enums/_helpers_.documentposition.md

This file was deleted.

99 changes: 0 additions & 99 deletions docs/modules/_helpers_.md

This file was deleted.

117 changes: 0 additions & 117 deletions docs/modules/_legacy_.md

This file was deleted.

Loading

0 comments on commit e583311

Please sign in to comment.