From 01696d074cafaf00a57e412803b470b42e38b9c4 Mon Sep 17 00:00:00 2001 From: Franck Royer Date: Thu, 12 Aug 2021 16:03:50 +1000 Subject: [PATCH] Add to CI, upload to GH pages --- .github/workflows/deploy-gh-pages.yml | 15 +++++++++++++++ .github/workflows/examples-ci.yml | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy-gh-pages.yml b/.github/workflows/deploy-gh-pages.yml index 5275c0f9ad..bdb7c1b6c8 100644 --- a/.github/workflows/deploy-gh-pages.yml +++ b/.github/workflows/deploy-gh-pages.yml @@ -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 diff --git a/.github/workflows/examples-ci.yml b/.github/workflows/examples-ci.yml index 8f5c7ad6cb..330c4f58cd 100644 --- a/.github/workflows/examples-ci.yml +++ b/.github/workflows/examples-ci.yml @@ -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: