Skip to content

Commit 8db5419

Browse files
authored
Use minimum stoat config (#2)
1 parent a10234e commit 8db5419

File tree

3 files changed

+6
-22
lines changed

3 files changed

+6
-22
lines changed

.stoat/comment.hbs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,3 @@
33
[![preview]({{ plugins.static_hosting.gif_preview.link }})]({{ plugins.static_hosting.video_preview.link }})
44

55
(Click the GIF go to the full video.)
6-
7-
{{{ views.plugins.job_runtime.github.chart }}}

.stoat/config.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,8 @@ version: 1
33
enabled: true
44
comment_template_file: .stoat/comment.hbs
55
plugins:
6-
job_runtime:
7-
enabled: true
86
static_hosting:
97
video_preview:
10-
metadata:
11-
name: Video
128
path: out/video.mp4
139
gif_preview:
14-
metadata:
15-
name: GIF
1610
path: out/video.gif

README.md

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Remotion with Stoat Video Preview
22

3-
This is a fork of the [`remotion-dev/template-helloworld`](https://github.com/remotion-dev/template-helloworld) repo to demo how to use Stoat to preview your Remotion video.
3+
This is a fork of the [`remotion-dev/template-helloworld`](https://github.com/remotion-dev/template-helloworld) repo to demo how to use Stoat to preview your Remotion video. Also see [this tutorial](https://docs.stoat.dev/docs/tutorials/preview-remotion) for details.
44

55
1. Install the [Stoat App](https://github.com/apps/stoat-app) for the repo.
66
2. Create a GitHub workflow for preview. An example can be found in [`.github/workflows/preview-video.yml`](.github/workflows/preview-video.yml).
@@ -44,20 +44,14 @@ This is a fork of the [`remotion-dev/template-helloworld`](https://github.com/re
4444
enabled: true
4545
comment_template_file: .stoat/comment.hbs
4646
plugins:
47-
job_runtime:
48-
enabled: true
4947
static_hosting:
5048
video_preview:
51-
metadata:
52-
name: Video
53-
# This file is generated by remotion in the "Generate video"
54-
# step of the preview workflow.
49+
# This file is generated by remotion in the
50+
# "Generate video" step of the GitHub workflow.
5551
path: out/video.mp4
5652
gif_preview:
57-
metadata:
58-
name: GIF
59-
# This file is generated from the remotion video in the "Generate gif"
60-
# step of the preview workflow.
53+
# This file is generated from the remotion video in the
54+
# "Generate gif" step of the GitHub workflow.
6155
path: out/video.gif
6256
```
6357

@@ -69,8 +63,6 @@ This is a fork of the [`remotion-dev/template-helloworld`](https://github.com/re
6963
[![preview]({{ plugins.static_hosting.gif_preview.link }})]({{ plugins.static_hosting.video_preview.link }})
7064
7165
(Click the GIF go to the full video.)
72-
73-
{{{ views.plugins.job_runtime.github.chart }}}
7466
```
7567

7668
The template file path must match the `comment_template_file` field in the Stoat config.
@@ -81,4 +73,4 @@ This is a fork of the [`remotion-dev/template-helloworld`](https://github.com/re
8173
>
8274
> (Click the GIF go to the full video.)
8375

84-
Check out this [pull request](https://github.com/stoat-dev/example-remotion/pull/1) for details.
76+
Check out this [pull request](https://github.com/stoat-dev/example-remotion/pull/2) for details.

0 commit comments

Comments
 (0)