From 832e3fdf4891e4f175d45e155bdcea59348a1611 Mon Sep 17 00:00:00 2001 From: fabriciojs Date: Thu, 26 Nov 2020 16:22:53 -0300 Subject: [PATCH] add kool deploy GH action --- .github/workflows/kool-deploy.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/kool-deploy.yml diff --git a/.github/workflows/kool-deploy.yml b/.github/workflows/kool-deploy.yml new file mode 100644 index 0000000..85c86d8 --- /dev/null +++ b/.github/workflows/kool-deploy.yml @@ -0,0 +1,22 @@ +on: + release: + types: [ published ] + +jobs: + deploy: + name: Deploy + runs-on: ubuntu-latest + + env: + KOOL_DEPLOY_DOMAIN: pdf.kool.dev + KOOL_API_TOKEN: ${{ secrets.KOOL_API_TOKEN }} + + steps: + - name: Install Kool + uses: kool-dev/action@v1 + + - name: Checkout code + uses: actions/checkout@master + + - name: Kool Deploy + run: kool deploy