From a03e6cae67101adb9f4b3eeeab2ad5036bec5425 Mon Sep 17 00:00:00 2001 From: James Ives Date: Sun, 3 Mar 2019 09:46:26 -0500 Subject: [PATCH] Couple of fixes --- README.md | 10 +++++++--- entrypoint.sh | 0 2 files changed, 7 insertions(+), 3 deletions(-) mode change 100644 => 100755 entrypoint.sh diff --git a/README.md b/README.md index 933ba5b6..cbbe0a6d 100644 --- a/README.md +++ b/README.md @@ -3,14 +3,18 @@ This Github action will handle the building and deploying process of your project to Github pages. It can be configured to upload your production ready code into any branch you'd like, including `gh-pages` and `docs`. ## Getting Started :airplane: -Before you get started you must first create a fresh branch where the action will deploy the files to. +Before you get started you must first create a fresh branch where the action will deploy the files to. You can replace `gh-pages` with whatever branch you'd like to use below. This will create a new orphaned branch which the deployer action can then push files to. ```git git checkout --orphan gh-pages -git push origin +git rm -rf . +touch README.md +git add README.md +git commit -m 'Initial gh-pages commit' +git push origin gh-pages ``` -Once setup you can then include the script in your workflow to trigger on any built in event that Github supports. +Once setup you can then include the action in your workflow to trigger on any built in event that Github supports. ``` action "Deploy to gh-pages" { diff --git a/entrypoint.sh b/entrypoint.sh old mode 100644 new mode 100755