diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index ab8b33c..52d02db 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -24,7 +24,9 @@ jobs: GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }} # Kept between runs so fetches are incremental. CACHE: /home/adamf/.cache/stpweb-ci/repo.git - SRC: /home/adamf/.cache/stpweb-ci/src-${{ github.sha }} + # Per run, not just per commit: the build runner takes two jobs at + # once, and the same commit pushed to two branches runs twice. + SRC: /home/adamf/.cache/stpweb-ci/src-${{ github.sha }}-${{ github.run_id }} steps: - name: Export the pushed commit to a scratch directory shell: bash