diff --git a/.github/workflows/kool-deploy.yml b/.github/workflows/kool-deploy.yml new file mode 100644 index 0000000..4114a9c --- /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: ci.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