From e5d01a19298436be0413c5b319081b60d4bbfbcb Mon Sep 17 00:00:00 2001 From: prasadharke Date: Mon, 30 Sep 2024 14:16:45 +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..672433c --- /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-learner-text-eval + ./deploy.sh