Skip to content

Commit

Permalink
fix: 🔨 fix materializecss#88
Browse files Browse the repository at this point in the history
  • Loading branch information
ChildishGiant committed Mar 23, 2021
1 parent 94ad89c commit 0fb2f9f
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 24 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Docs
on:
push:
branches:
- main

jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master

- name: Generate docs
run: |
npm i
npm run docs
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs
exclude_assets: node_modules
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'

24 changes: 0 additions & 24 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,27 +25,3 @@ jobs:
with:
name: build
path: dist/

docs:

runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master

- name: Generate docs
run: |
npm i
npm run docs
- name: test
run: ls

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs
exclude_assets: node_modules
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'

0 comments on commit 0fb2f9f

Please sign in to comment.