File tree Expand file tree Collapse file tree 4 files changed +24
-3
lines changed Expand file tree Collapse file tree 4 files changed +24
-3
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,8 @@ changelog:
37
37
- title : Self-Hosted Runner Group Access Changes
38
38
date : ' 2020-10-16'
39
39
href : https://github.blog/changelog/2020-10-16-github-actions-self-hosted-runner-group-access-changes/
40
+
41
+ product_video : https://www.youtube-nocookie.com/embed/cP0I9w2coGU
40
42
41
43
redirect_from :
42
44
- /articles/automating-your-workflow-with-github-actions/
Original file line number Diff line number Diff line change 9
9
{% include header %}
10
10
11
11
< div class ="container-xl px-3 px-md-6 pt-3 pb-2 ">
12
- < header class ="d-flex gutter mb-6 ">
13
- < div class ="col-12 col-lg-7 ">
12
+ < header class ="d-lg- flex gutter-lg mb-6 ">
13
+ < div class ="col-12 col-lg-6 mb-2 mb-lg-0 ">
14
14
< span class ="text-mono text-gray "> Product</ span >
15
15
< h1 class ="mb-3 font-mktg "> {{ page.shortTitle }}</ h1 >
16
16
< div class ="lead-mktg text-gray "> {{ page.intro }}</ div >
@@ -23,6 +23,19 @@ <h1 class="mb-3 font-mktg">{{ page.shortTitle }}</h1>
23
23
{% data ui.product_landing.reference_guides %}
24
24
</ a >
25
25
</ div >
26
+
27
+ {% if page.product_video %}
28
+ < div class ="col-12 col-lg-6 ">
29
+ < div class ="position-relative " style ="padding-bottom:56.25%; ">
30
+ < iframe
31
+ class ="top-0 left-0 position-absolute box-shadow-large rounded-1 width-full height-full "
32
+ src ="{{ page.product_video }} "
33
+ frameborder ="0 "
34
+ allow ="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture " allowfullscreen
35
+ > </ iframe >
36
+ </ div >
37
+ </ div >
38
+ {% endif %}
26
39
</ header >
27
40
28
41
<!-- Article links -->
Original file line number Diff line number Diff line change @@ -88,6 +88,11 @@ const schema = {
88
88
}
89
89
}
90
90
} ,
91
+ // Show in `product-landing.html`
92
+ product_video : {
93
+ type : 'string' ,
94
+ format : 'url'
95
+ } ,
91
96
interactive : {
92
97
type : 'boolean'
93
98
}
Original file line number Diff line number Diff line change @@ -34,7 +34,8 @@ module.exports = contentSecurityPolicy({
34
34
] ,
35
35
frameSrc : [ // exceptions for GraphQL Explorer
36
36
'https://graphql-explorer.githubapp.com' , // production env
37
- 'http://localhost:3000' // development env
37
+ 'http://localhost:3000' , // development env
38
+ 'https://www.youtube-nocookie.com'
38
39
] ,
39
40
styleSrc : [
40
41
"'self'" ,
You can’t perform that action at this time.
0 commit comments