mirror of
https://github.com/status-im/js-waku.git
synced 2025-02-22 09:58:10 +00:00
Automatically deploy latest main on gh pages
This commit is contained in:
parent
9e471595fc
commit
8b4caeaa3f
29
.github/workflows/deploy-gh-pages.yml
vendored
Normal file
29
.github/workflows/deploy-gh-pages.yml
vendored
Normal file
@ -0,0 +1,29 @@
|
||||
name: Webchat Deploy GH Pages
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- 'main'
|
||||
|
||||
jobs:
|
||||
build_and_test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- 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: Deploy web chat app on gh pages
|
||||
run: npm run deploy
|
||||
working-directory: web-chat
|
Loading…
x
Reference in New Issue
Block a user