diff --git a/.github/workflows/elixir.yaml b/.github/workflows/elixir.yaml index 9e5fe02..fef5eb6 100644 --- a/.github/workflows/elixir.yaml +++ b/.github/workflows/elixir.yaml @@ -41,11 +41,14 @@ jobs: - name: Check out this repository uses: actions/checkout@v4 + - name: Copy Mosquitto config + run: docker cp ${{ github.workspace }}/.mosquitto/* mqtt:/mosquitto/config + # Ensure to restart MQTT after checkout to correctly bind the config volume - # - name: Restart MQTT - # uses: docker://docker - # with: - # args: docker restart mqtt + - name: Restart MQTT + uses: docker://docker + with: + args: docker restart mqtt - run: docker inspect mqtt