Skip to content

Commit

Permalink
Create all-1.1-prod.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
prasadharke authored Sep 30, 2024
1 parent 7026e59 commit e5d01a1
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/all-1.1-prod.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit e5d01a1

Please sign in to comment.