File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -121,7 +121,10 @@ An example of a workflow for some documentation.
121
121
122
122
name : Docs to PDF
123
123
# This workflow is triggered on pushes to the repository.
124
- on : [push]
124
+ on :
125
+ push :
126
+ branches :
127
+ - master
125
128
126
129
jobs :
127
130
converttopdf :
@@ -130,10 +133,8 @@ jobs:
130
133
steps :
131
134
- uses : actions/checkout@v2
132
135
- uses : baileyjm02/markdown-to-pdf@master
133
- # Only continue past here when pushed to master
134
- if : github.ref == 'refs/heads/master'
135
136
with :
136
- markdown_dir : docs
137
+ input_dir : docs
137
138
output_dir : pdfs
138
139
images_dir : docs/images
139
140
# for example <img src="./images/file-name.png">
@@ -144,7 +145,7 @@ jobs:
144
145
with :
145
146
name : docs
146
147
path : pdfs
147
- ` ` `
148
+
148
149
````
149
150
150
151
# # Contributions
You can’t perform that action at this time.
0 commit comments