From 2156aa600146da00f8b49eb84c16105426cb1de0 Mon Sep 17 00:00:00 2001 From: Max-im Date: Wed, 2 Aug 2023 00:45:08 +0300 Subject: [PATCH] init render host --- .github/workflows/production.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/production.yml b/.github/workflows/production.yml index 2c84221..7e3ab8a 100644 --- a/.github/workflows/production.yml +++ b/.github/workflows/production.yml @@ -55,6 +55,7 @@ jobs: SECRET_OR_KEY: test_secret building: + needs: [testing] runs-on: ubuntu-latest steps: @@ -74,3 +75,14 @@ jobs: - name: Copy run: cd ./client && cp -r build/ ../server/src + + deploy: + needs: [testing, building] + runs-on: ubuntu-latest + + steps: + - name: Deploy + uses: johnbeynon/render-deploy-action@v0.0.8 + with: + service-id: ${{ secrets.SERVICE_ID }} + api-key: ${{ secrets.RENDER_API_KEY }} \ No newline at end of file