Skip to content

Commit

Permalink
fix: ignore docs
Browse files Browse the repository at this point in the history
  • Loading branch information
dineug committed May 20, 2020
1 parent 6f9f46a commit 9db2c59
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 54 deletions.
52 changes: 26 additions & 26 deletions .github/workflows/deploy-ghpages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,29 +8,29 @@ jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Get npm cache
id: npm-cache
run: |
echo "::set-output name=dir::$(npm config get cache)"
- uses: actions/cache@v1
with:
path: ${{ steps.npm-cache.outputs.dir }}
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Setup Node
uses: actions/setup-node@v1.4.2
with:
node-version: 12.x
- name: npm install, test, build
run: |
npm install
npm run test
npm run build
npm run storybook:build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs
- uses: actions/checkout@v2
- name: Get npm cache
id: npm-cache
run: |
echo "::set-output name=dir::$(npm config get cache)"
- uses: actions/cache@v1
with:
path: ${{ steps.npm-cache.outputs.dir }}
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Setup Node
uses: actions/setup-node@v1.4.2
with:
node-version: 12.x
- name: npm install, test, build
run: |
npm install
npm run test
npm run build
npm run storybook:build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
node_modules
dist
coverage
docs

# local env files
.env.local
Expand Down
Binary file removed docs/favicon.ico
Binary file not shown.
28 changes: 0 additions & 28 deletions docs/index.html

This file was deleted.

0 comments on commit 9db2c59

Please sign in to comment.