Skip to content

Commit

Permalink
Create backend-ec2-deploy.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Haroun Alarabi <109032469+HarounAlarabi@users.noreply.github.com>
  • Loading branch information
HarounAlarabi authored Feb 4, 2024
1 parent f0ff110 commit b83eb83
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/backend-ec2-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Deploy backend to EC2
on:
push:
branches: Level--300

jobs:
Deploy:
name: Deploy to EC2
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Build & Deploy
env:
PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
HOSTNAME: ${{secrets.HOST_NAME}}
USER_NAME: ${{secrets.USER_NAME}}


0 comments on commit b83eb83

Please sign in to comment.