From 4c8a90cef2ff70fcce90117ea3cb66731d276400 Mon Sep 17 00:00:00 2001 From: Peter Kline Date: Mon, 4 May 2020 11:41:25 -0400 Subject: [PATCH 1/3] Fix up usage example to use correct input_dir key - `input_dir` entry fixed - Changed branch restriction usage example to reflect syntax used by other key projects on restricting running on a certain branch (master) https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#onpushpull_requestbranchestags - Removed extra code tics at end of example --- README.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 3bbf134..ea980ce 100644 --- a/README.md +++ b/README.md @@ -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: @@ -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 @@ -144,7 +145,7 @@ jobs: with: name: docs path: pdfs - ``` + ```` ## Contributions From 824d473ca5931f14acd63aea0bdc08fa45d86ec1 Mon Sep 17 00:00:00 2001 From: Bailey Matthews Date: Thu, 28 May 2020 16:25:40 +0100 Subject: [PATCH 2/3] Set theme jekyll-theme-architect --- _config.yml | 1 + 1 file changed, 1 insertion(+) create mode 100644 _config.yml diff --git a/_config.yml b/_config.yml new file mode 100644 index 0000000..3397c9a --- /dev/null +++ b/_config.yml @@ -0,0 +1 @@ +theme: jekyll-theme-architect \ No newline at end of file From 106bb0834a558bc6d40c930a877bb3fc4c127679 Mon Sep 17 00:00:00 2001 From: Bailey Matthews Date: Sun, 31 May 2020 13:56:03 +0100 Subject: [PATCH 3/3] Fix: Remove accidental config file creation --- _config.yml | 1 - 1 file changed, 1 deletion(-) delete mode 100644 _config.yml diff --git a/_config.yml b/_config.yml deleted file mode 100644 index 3397c9a..0000000 --- a/_config.yml +++ /dev/null @@ -1 +0,0 @@ -theme: jekyll-theme-architect \ No newline at end of file