Skip to content

Commit

Permalink
Updating script
Browse files Browse the repository at this point in the history
  • Loading branch information
p-shubh committed Feb 29, 2024
1 parent 28d8bbd commit 31e190b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ jobs:
script: |
pwd
cd superiad
podman stop superiad && podman rm superiad && podman image rm superiad
echo ${{ secrets.GHCR_TOKEN }} | podman login ghcr.io -u secrets.GHCR_USERNAME --password-stdin
podman pull ghcr.io/weareflexable/superiad:main
podman run --name="superiad" --env-file=.env -p 9079:8080 --net=bridge -d ghcr.io/weareflexable/superiad:main
sudo podman stop superiad && sudo podman rm superiad && sudo podman image rm superiad
echo ${{ secrets.GHCR_TOKEN }} | sudo podman login ghcr.io -u secrets.GHCR_USERNAME --password-stdin
sudo podman pull ghcr.io/weareflexable/superiad:main
sudo podman run --name="superiad" --env-file=.env -p 9079:8080 --net=bridge -d ghcr.io/weareflexable/superiad:main
- name: Deploy on PROD server
if: github.ref == 'refs/heads/prod'
Expand Down

0 comments on commit 31e190b

Please sign in to comment.