mirror of
https://github.com/logos-messaging/logos-messaging-js.git
synced 2026-05-05 04:13:20 +00:00
Deploy main HEAD eth-dm to GH pages
This commit is contained in:
parent
f05e3a6bb3
commit
ec90bd021a
51
.github/workflows/deploy-gh-pages-eth-dm.yml
vendored
51
.github/workflows/deploy-gh-pages-eth-dm.yml
vendored
@ -1,51 +0,0 @@
|
|||||||
name: Eth DM Deploy GH Pages
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- '72-eth-dm'
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
deploy_gh_pages:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
|
|
||||||
- name: Checkout code
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: Set git author identity
|
|
||||||
run: |
|
|
||||||
git config user.name "GitHub Action On js-waku Repo"
|
|
||||||
git config user.email "franck+ghpages@status.im"
|
|
||||||
|
|
||||||
- name: Install NodeJS
|
|
||||||
uses: actions/setup-node@v2
|
|
||||||
with:
|
|
||||||
node-version: '14'
|
|
||||||
|
|
||||||
- name: Cache npm cache
|
|
||||||
uses: actions/cache@v2
|
|
||||||
with:
|
|
||||||
path: ~/.npm
|
|
||||||
key: node-v1-${{ hashFiles('**/package-lock.json') }}
|
|
||||||
|
|
||||||
- name: "[js-waku] install using npm ci"
|
|
||||||
uses: bahmutov/npm-install@v1
|
|
||||||
|
|
||||||
- name: "[js-waku] build"
|
|
||||||
run: npm run build
|
|
||||||
|
|
||||||
- name: install eth dm using npm i
|
|
||||||
run: npm install
|
|
||||||
working-directory: examples/eth-dm
|
|
||||||
|
|
||||||
- name: build eth dm
|
|
||||||
run: npm run build
|
|
||||||
working-directory: examples/eth-dm
|
|
||||||
|
|
||||||
- name: Deploy eth dm app on gh pages
|
|
||||||
uses: peaceiris/actions-gh-pages@v3
|
|
||||||
with:
|
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
publish_dir: ./examples/eth-dm/build
|
|
||||||
destination_dir: eth-dm
|
|
||||||
21
.github/workflows/deploy-gh-pages.yml
vendored
21
.github/workflows/deploy-gh-pages.yml
vendored
@ -35,20 +35,35 @@ jobs:
|
|||||||
- name: "[js-waku] build"
|
- name: "[js-waku] build"
|
||||||
run: npm run build
|
run: npm run build
|
||||||
|
|
||||||
- name: install using npm i
|
- name: "[web-chat] install using npm i"
|
||||||
run: npm install
|
run: npm install
|
||||||
working-directory: examples/web-chat
|
working-directory: examples/web-chat
|
||||||
|
|
||||||
- name: build web app
|
- name: "[web-chat] build"
|
||||||
run: npm run build
|
run: npm run build
|
||||||
working-directory: examples/web-chat
|
working-directory: examples/web-chat
|
||||||
|
|
||||||
- name: Deploy web chat app on gh pages
|
- name: "[web-chat] Deploy on gh pages to /"
|
||||||
uses: peaceiris/actions-gh-pages@v3
|
uses: peaceiris/actions-gh-pages@v3
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
publish_dir: ./examples/web-chat/build
|
publish_dir: ./examples/web-chat/build
|
||||||
|
|
||||||
|
- name: "[eth-dm] install using npm i"
|
||||||
|
run: npm install
|
||||||
|
working-directory: examples/eth-dm
|
||||||
|
|
||||||
|
- name: "[eth-dm] build"
|
||||||
|
run: npm run build
|
||||||
|
working-directory: examples/eth-dm
|
||||||
|
|
||||||
|
- name: "[eth-dm] Deploy on gh pages to /eth-dm"
|
||||||
|
uses: peaceiris/actions-gh-pages@v3
|
||||||
|
with:
|
||||||
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
publish_dir: ./examples/eth-dm/build
|
||||||
|
destination_dir: eth-dm
|
||||||
|
|
||||||
- name: Generate docs
|
- name: Generate docs
|
||||||
run: npm run doc:html
|
run: npm run doc:html
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user