Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
BaileyJM02 committed Jul 4, 2020
2 parents 5986319 + 106bb08 commit 3cdd946
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,10 @@ An example of a workflow for some documentation.

name: Docs to PDF
# This workflow is triggered on pushes to the repository.
on: [push]
on:
push:
branches:
- master

jobs:
converttopdf:
Expand All @@ -130,10 +133,8 @@ jobs:
steps:
- uses: actions/checkout@v2
- uses: baileyjm02/markdown-to-pdf@master
# Only continue past here when pushed to master
if: github.ref == 'refs/heads/master'
with:
markdown_dir: docs
input_dir: docs
output_dir: pdfs
images_dir: docs/images
# for example <img src="./images/file-name.png">
Expand All @@ -144,7 +145,7 @@ jobs:
with:
name: docs
path: pdfs
```

````

## Contributions
Expand Down

0 comments on commit 3cdd946

Please sign in to comment.