-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7026e59
commit e5d01a1
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |