github ci
This commit is contained in:
13
.github/workflows/render-video.yml
vendored
13
.github/workflows/render-video.yml
vendored
@@ -1,4 +1,9 @@
|
||||
name: Render video
|
||||
on:
|
||||
push:
|
||||
branches: ["main"]
|
||||
pull_request:
|
||||
branches: ["main"]
|
||||
jobs:
|
||||
render:
|
||||
name: Render video
|
||||
@@ -8,11 +13,9 @@ jobs:
|
||||
- uses: actions/setup-node@main
|
||||
- run: sudo apt update
|
||||
- run: sudo apt install ffmpeg
|
||||
- run: npm i
|
||||
- run: echo $WORKFLOW_INPUT > input-props.json
|
||||
env:
|
||||
WORKFLOW_INPUT: ${{ toJson(github.event.inputs) }}
|
||||
- run: npm run build"
|
||||
- run: sudo apt install yarn
|
||||
- run: yarn
|
||||
- run: yarn build"
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: out.mp4
|
||||
|
||||
Reference in New Issue
Block a user