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 41ad17d commit 25f60e4
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,11 +19,9 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and push Docker image
uses: docker/build-push-action@v2
with:
context: .
push: true
tags: harounalarabi/server:latest
run: |
docker build -t harounalarabi/server
docker push harounalarabi/server:latest
- name: Deploy to EC2
Expand Down

0 comments on commit 25f60e4

Please sign in to comment.