Fix issued where prisma connection was never closed.. #12
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
name: Deploy to Production Server | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Setup SSH | |
uses: webfactory/[email protected] | |
with: | |
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }} | |
- name: Add SSH key to known hosts | |
run: ssh-keyscan -H 34.142.246.82 >> ~/.ssh/known_hosts | |
- name: Deploy to Production | |
run: ssh [email protected] '/home/g2201732/deploy-spygamers.sh' |