Skip to content

Commit

Permalink
fix: CD pipeline.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr-Sunglasses committed Sep 21, 2024
1 parent 5b6ced6 commit fd7f098
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
- name: Create data Folder
run: mkdir -p data
- name: Pull Docker image
run: sudo docker pull mrsunglasses/pastepy
run: docker pull mrsunglasses/pastepy
- name: Delete Old docker container
run: sudo docker rm -f pastepyprod || true
run: docker rm -f pastepyprod || true
- name: Run Docker Container
run: sudo docker run -d -p 8080:8080 -v $(pwd)/data:/project/data --name pastepyprod mrsunglasses/pastepy
run: docker run -d -p 8082:8080 -v $(pwd)/data:/project/data --name pastepyprod mrsunglasses/pastepy

0 comments on commit fd7f098

Please sign in to comment.