From 67128ceb500202d65b8f79f3751c3aef822a1a1d Mon Sep 17 00:00:00 2001 From: Tim Ruffles Date: Fri, 20 Dec 2019 11:52:32 +0000 Subject: [PATCH] Give it a go --- .github/workflows/deploy.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..c04d2b6 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,17 @@ +on: + push: + branches: ["master", "deploy-test"] + +jobs: + depoy: + runs-on: ubuntu-latest + steps: + - run: mkdir -p /github/workspace/gh-pages + - uses: ./ + with: + format: txt + output: ./gh-pages/humans.txt + - uses: peaceiris/actions-gh-pages@v2 + env: + ACTIONS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }} + PUBLISH_DIR: ./gh-pages