mirror this repo: https://github.com/The-Run-Philosophy-Organization/run.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
922 B
32 lines
922 B
name: Convert PDF to Markdown
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- '**.md'
|
|
|
|
jobs:
|
|
convert_md:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
# We must checkout the latest version of the code to get a copy of all .md files
|
|
- 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.
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
COMMIT_MESSAGE: Add .pdf files.
|
|
PULL_REQUEST_TITLE: Add .pdf files.
|
|
PULL_REQUEST_BRANCH: pdf-add
|
|
PULL_REQUEST_BODY: :wave: Run.pdf
|
|
PULL_REQUEST_REVIEWERS: scottypate
|
|
|