Skip to content

Commit

Permalink
Build demo page before deploying
Browse files Browse the repository at this point in the history
  • Loading branch information
zewish committed Sep 9, 2023
1 parent e129000 commit f527aac
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 111 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,13 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Setup pages
uses: actions/configure-pages@v3
- name: Setup pages structure
- name: Build pages
run: |
mkdir ./pages
mv ./demo-web/ ./pages/
cd ./demo-web/
npm run build
cd ..
mkdir -p ./pages/demo-web/
cp -f ./demo-web/index.html ./demo-web/bundle.js ./pages/demo-web/
- name: Upload page artifact
uses: actions/upload-pages-artifact@v2
with:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ dist/
coverage/
.DS_Store
types/
demo-web/bundle.js
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ __Works with any of the following:__
- SessionStorage (web)
- Your own custom storage driver that implements `setItem(key, value)` and `getItem(key)`

### [__See demo!__](https://rawgit.com/zewish/redux-remember/master/demo-web/index.html)
### [__See demo!__](https://zewish.github.io/redux-remember/demo-web/)

Installation
------------
Expand Down
107 changes: 0 additions & 107 deletions demo-web/bundle.js

This file was deleted.

0 comments on commit f527aac

Please sign in to comment.