-
Notifications
You must be signed in to change notification settings - Fork 15
89 lines (87 loc) · 2.72 KB
/
update_demo_gifs_dev.yml
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
name: Generate and update demo GIFs
on:
push:
branches:
- 'develop'
workflow_dispatch:
jobs:
generate-and-push-gifs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: ss_15_tps_80
uses: PabloLec/website-to-gif@develop
with:
url: "https://docs.github.com/en/get-started/quickstart/be-social"
save_path: '/docs/images'
file_format: gif
file_name: ss_15_tps_80
scroll_step: 15
time_per_frame: 80
window_width: 1280
window_height: 720
- name: ss_25_tps_100
uses: PabloLec/website-to-gif@develop
with:
url: "https://docs.github.com/en/get-started/quickstart/be-social"
save_path: '/docs/images'
file_name: ss_25_tps_100
scroll_step: 25
time_per_frame: 100
window_width: 1280
window_height: 720
- name: ss_50_tps_50
uses: PabloLec/website-to-gif@develop
with:
url: "https://docs.github.com/en/get-started/quickstart/be-social"
save_path: '/docs/images'
file_name: ss_50_tps_50
scroll_step: 50
time_per_frame: 50
window_width: 1280
window_height: 720
- name: ss_50_tps_100
uses: PabloLec/website-to-gif@develop
with:
url: "https://docs.github.com/en/get-started/quickstart/be-social"
save_path: '/docs/images'
file_name: ss_50_tps_100
scroll_step: 50
time_per_frame: 100
window_width: 1280
window_height: 720
- name: ss_50_tps_200
uses: PabloLec/website-to-gif@develop
with:
url: "https://docs.github.com/en/get-started/quickstart/be-social"
save_path: '/docs/images'
file_name: ss_50_tps_200
scroll_step: 50
time_per_frame: 200
window_width: 1280
window_height: 720
- name: animated_no_scroll
uses: PabloLec/website-to-gif@develop
with:
url: "https://github.com/signup"
save_path: "/docs/images"
file_name: animated_no_scroll
no_scoll: true
time_per_frame: 100
time_between_frames: 100
number_of_frames: 50
window_width: 1280
window_height: 720
- name: Archive GIFs
uses: actions/upload-artifact@v4
with:
name: Generated GIFs
path: |
./docs/images/*
- name: Commit file to GH repo
run: |
git config --global user.name "PabloLec/website-to-gif"
git config --global user.email "[email protected]"
git add .
git commit -m 'Update demo GIFs'
git push