Skip to content

Commit

Permalink
Update 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 14, 2024
1 parent 11347fc commit 8df7ad8
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/backend-ec2-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,12 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and push docker image
uses: docker/build-push-action@v2
uses: docker/push-action@v2
with:
context: .
run:
docker build
run: docker build
push: true
tags: harounalarabi/server:latest

tags: harounalarabi/server
- name: Deploy to EC2
uses: easingthemes/ssh-deploy@v2.1.4
with:
Expand Down

0 comments on commit 8df7ad8

Please sign in to comment.