diff --git a/.github/workflows/deloyment.yml b/.github/workflows/deloyment.yml index e62bf76..d91f8d8 100644 --- a/.github/workflows/deloyment.yml +++ b/.github/workflows/deloyment.yml @@ -46,7 +46,7 @@ jobs: port: ${{ secrets.DEV_SSH_PORT }} script: | pwd - sudo docker discover || true && sudo docker image rm ghcr.io/myriadflow/discover:main - echo ${{ secrets.GHCR_TOKEN }} | sudo docker login ghcr.io -u ${{ secrets.GHCR_USERNAME }} --password-stdin - sudo docker pull ghcr.io/myriadflow/discover:main - sudo docker run --name="discover" --rm -p 4040:6060 --net=bridge -d ghcr.io/myriadflow/discover:main + docker discover || true && docker image rm ghcr.io/myriadflow/discover:main + echo ${{ secrets.GHCR_TOKEN }} | docker login ghcr.io -u ${{ secrets.GHCR_USERNAME }} --password-stdin + docker pull ghcr.io/myriadflow/discover:main + docker run --name="discover" --rm -p 4040:6060 --net=bridge -d ghcr.io/myriadflow/discover:main