Skip to content

Commit

Permalink
Remove docs from tracking and use github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
bhelx committed Apr 9, 2020
1 parent c063fe6 commit a6110df
Show file tree
Hide file tree
Showing 7 changed files with 40 additions and 31,121 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
on:
release:
types:
- published
name: Documentation
jobs:
build:
name: Publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- uses: actions/setup-node@v1
with:
node-version: '12.x'

- name: Build Library and Docs
run: ./scripts/build

- name: Deploy
if: success()
uses: crazy-max/ghaction-github-pages@v1
with:
target_branch: gh-pages
build_dir: ./docs
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules/
coverage/
.nyc_output/
docs/
8 changes: 0 additions & 8 deletions docs/assets/scripts.min.js

This file was deleted.

4 changes: 0 additions & 4 deletions docs/assets/style.css

This file was deleted.

4 changes: 0 additions & 4 deletions docs/assets/styles.min.css

This file was deleted.

Loading

0 comments on commit a6110df

Please sign in to comment.