Skip to content

Update deploy.yml

Update deploy.yml #5

Workflow file for this run

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/ssh-agent@v0.5.1
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: Deploy to Production
run: ssh g2201732@34.142.246.82 '/home/g2201732/deploy-spygamers.sh'