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