From 8aeb98acccc7560a811a81069c11baf76b3f20ad Mon Sep 17 00:00:00 2001 From: Riddhesh Sanghvi Date: Tue, 12 Dec 2023 15:51:18 +0530 Subject: [PATCH] Add CI/CD for develop site Signed-off-by: Riddhesh Sanghvi --- .github/hosts.yml | 6 ++++++ .github/workflows/deploy_on_push.yml | 1 + 2 files changed, 7 insertions(+) diff --git a/.github/hosts.yml b/.github/hosts.yml index f3e609a..a79b12d 100644 --- a/.github/hosts.yml +++ b/.github/hosts.yml @@ -3,3 +3,9 @@ main: user: rtcamp deploy_path: /home/rtcamp/privacy-sandbox-demos prev_releases_limit: 7 + +develop: + hostname: 49.13.70.42 + user: rtcamp + deploy_path: /home/rtcamp/privacy-sandbox-demos + prev_releases_limit: 3 diff --git a/.github/workflows/deploy_on_push.yml b/.github/workflows/deploy_on_push.yml index ce9bf1d..4ffa4ee 100644 --- a/.github/workflows/deploy_on_push.yml +++ b/.github/workflows/deploy_on_push.yml @@ -2,6 +2,7 @@ on: push: branches: - main + - develop name: Deploy jobs: