committed by
GitHub
1 changed files with 30 additions and 0 deletions
@ -0,0 +1,30 @@ |
|||||
|
name: Convert PDF to Markdown |
||||
|
|
||||
|
on: |
||||
|
push: |
||||
|
paths: |
||||
|
- '**.md' |
||||
|
|
||||
|
jobs: |
||||
|
convert_md: |
||||
|
runs-on: ubuntu-latest |
||||
|
steps: |
||||
|
- name: Checkout Code |
||||
|
uses: actions/[email protected] |
||||
|
with: |
||||
|
fetch-depth: 1 |
||||
|
- name: Create .pdfs |
||||
|
uses: scottypate/[email protected] |
||||
|
env: { |
||||
|
# Use this parameter to determine where the generated .pdf(s) will be stored. |
||||
|
PDF_DIR: './pdfs' |
||||
|
} |
||||
|
- name: Create Pull Request |
||||
|
uses: peter-evans/[email protected] |
||||
|
env: |
||||
|
# The token is built in to actions. No config required. |
||||
|
COMMIT_MESSAGE: Add .pdf files. |
||||
|
PULL_REQUEST_TITLE: Add .pdf files. |
||||
|
PULL_REQUEST_BRANCH: pdf-add |
||||
|
PULL_REQUEST_BODY: :wave: Here are the .pdf files you requested. |
||||
|
PULL_REQUEST_REVIEWERS: scottypate |
Loading…
Reference in new issue