diff --git a/.github/workflows/test-and-deploy.yaml b/.github/workflows/test-and-deploy.yaml index 61624450..6b433d7c 100644 --- a/.github/workflows/test-and-deploy.yaml +++ b/.github/workflows/test-and-deploy.yaml @@ -18,6 +18,11 @@ jobs: timeout-minutes: 15 steps: - uses: actions/checkout@v4 + repository: chatmail/hetzner-relay + path: hetzner-relay + + - uses: actions/checkout@v4 + path: relay - name: prepare SSH run: | @@ -26,7 +31,6 @@ jobs: chmod 600 ~/.ssh/id_ed25519 - run: | - git clone https://github.com/chatmail/hetzner-relay ../hetzner-relay - pip install ../hetzner-relay - python3 ../hetzner-relay/main.py --dns --test --rebuild --run-id $GITHUB_RUN_ID --domain2 chatmail-ci.testrun.org . + pip install hetzner-relay/ + python3 hetzner-relay/main.py --dns --test --rebuild --run-id $GITHUB_RUN_ID --domain2 chatmail-ci.testrun.org relay/