From 2f64c1d6fd0116b3b29d5843acf3b9f13d75926e Mon Sep 17 00:00:00 2001 From: prasadharke Date: Mon, 30 Sep 2024 13:15:25 +0530 Subject: [PATCH] Create all-1.1-prod.yml --- .github/workflows/all-1.1-prod.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/all-1.1-prod.yml diff --git a/.github/workflows/all-1.1-prod.yml b/.github/workflows/all-1.1-prod.yml new file mode 100644 index 0000000..7e3a49f --- /dev/null +++ b/.github/workflows/all-1.1-prod.yml @@ -0,0 +1,26 @@ +name: Prod Deployment + +on: + push: + branches: + - all-1.1-prod +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.PROD_HOST }} + username: ${{ secrets.PROD_USERNAME }} + key: ${{ secrets.PROD_SSH_PRIVATE_KEY }} + port: ${{ secrets.PORT }} + script: | + + cd /home/sudeepr/all-services/all-content-service + ./deploy.sh