Add to CI, upload to GH pages

This commit is contained in:
Franck Royer 2021-08-12 16:03:50 +10:00
parent 3b32987ecf
commit 01696d074c
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
2 changed files with 16 additions and 1 deletions

View File

@ -64,6 +64,21 @@ jobs:
publish_dir: ./examples/eth-dm/build
destination_dir: eth-dm
- name: "[eth-pm-wallet] install using npm i"
run: npm install
working-directory: examples/eth-pm-wallet-encryption
- name: "[eth-pm-wallet] build"
run: npm run build
working-directory: examples/eth-pm-wallet-encryption
- name: "[eth-pm-wallet] Deploy on gh pages to /eth-pm-wallet"
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./examples/eth-pm-wallet-encryption/build
destination_dir: eth-pm-wallet
- name: Generate docs
run: npm run doc:html

View File

@ -12,7 +12,7 @@ jobs:
examples_build_and_test:
strategy:
matrix:
example: [ web-chat, eth-dm, min-react-js-chat, store-reactjs-chat ]
example: [ web-chat, eth-dm, eth-pm-wallet-encryption, min-react-js-chat, store-reactjs-chat ]
runs-on: ubuntu-latest
steps: