From d265d32fb124b1891c20751a5a4d0c5c32217618 Mon Sep 17 00:00:00 2001 From: Kunchok Tashi Date: Sun, 30 Jun 2024 20:20:02 +0530 Subject: [PATCH] Create main.yml --- .github/workflows/main.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..0ae05c8 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,18 @@ +name: ChatBot deployment + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Deploy to production + uses: johnbeynon/render-deploy-action@v0.0.8 + with: + service-id: ${{ secrets.RENDER_SERVICE_ID }} + api-key: ${{ secrets.RENDER_API_KEY }} + wait-for-success: true