Skip to content

Commit deb1a4d

Browse files
committed
update
1 parent e69f956 commit deb1a4d

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/render-video.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,11 @@ jobs:
2020
- run: sudo apt update
2121
- run: sudo apt install ffmpeg
2222
- run: npm i
23-
- run: npm run build -- --props="$WORKFLOW_INPUT"
23+
- run: echo $WORKFLOW_INPUT > input-props.json
2424
env:
2525
WORKFLOW_INPUT: ${{ toJson(github.event.inputs) }}
26+
- run: npm run build -- --props="./input-props.json"
2627
- uses: actions/upload-artifact@v2
2728
with:
28-
name: out.mp4
29-
path: out.mp4
29+
name: video.mp4
30+
path: out/video.mp4

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "My Remotion video",
55
"scripts": {
66
"start": "remotion preview src/index.jsx",
7-
"build": "remotion render src/index.jsx HelloWorld out.mp4",
7+
"build": "remotion render src/index.jsx HelloWorld out/video.mp4",
88
"upgrade": "remotion upgrade",
99
"server": "node server.mjs",
1010
"test": "eslint src --ext ts,tsx,js,jsx"

0 commit comments

Comments
 (0)