-
Notifications
You must be signed in to change notification settings - Fork 157
34 lines (33 loc) · 1.03 KB
/
develop-publish-gh-pages.yml
File metadata and controls
34 lines (33 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Deploy Action WebRTC JS SDK
on:
push:
branches:
- develop
jobs:
publish-ubuntu-build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@master
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: 22
- name: Build AWS SDK
working-directory: ./aws-sdk-build
run: |
npm install
npm run build
rm -rf ../examples/*-kvswebrtc.js
mv dist/*-kvswebrtc.js ../examples
- name: Install dependencies
run: npm install
- name: Run release
run: npm run release
- name: Deploy to Github pages
uses: JamesIves/github-pages-deploy-action@v4.2.5
with:
folder: dist
branch: gh-pages
target-folder: develop
clean: true