diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 12cc096..7f7d5ae 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -10,7 +10,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + run: | + if [ -d /tmp/watch-party ]; then + cd /tmp/watch-party && git fetch origin && git reset --hard origin/main + else + git clone https://gitea.home.arpa/nik/watch-party /tmp/watch-party + fi + cp -r /tmp/watch-party/. . - name: Write deploy key run: |