From 40583b3bfe02572621b043bee3e614a3d5fe2fb6 Mon Sep 17 00:00:00 2001 From: prasadharke Date: Mon, 30 Sep 2024 12:14:21 +0530 Subject: [PATCH] Create 2.0-dev.yml --- .github/workflows/2.0-dev.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/2.0-dev.yml diff --git a/.github/workflows/2.0-dev.yml b/.github/workflows/2.0-dev.yml new file mode 100644 index 0000000..171424f --- /dev/null +++ b/.github/workflows/2.0-dev.yml @@ -0,0 +1,27 @@ +name: Dev Deployment + +on: + push: + branches: + - release-2.0-dev +jobs: + deploy: + runs-on: ubuntu-latest + timeout-minutes: 15 + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis + - + name: Deploy Stack + uses: appleboy/ssh-action@master + with: + host: ${{ secrets.DEV_HOST }} + username: ${{ secrets.DEV_USERNAME }} + key: ${{ secrets.DEV_SSH_PRIVATE_KEY }} + port: ${{ secrets.PORT }} + script: | + + cd /home/sudeepr/git/all-orchestration-service + ./deploy.sh +