diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index 34445b4..c3f55aa 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -13,8 +13,10 @@ jobs: steps: - name: Checkout repository run: | - git clone --depth 1 \ - https://x-access-token:${FORGEJO_TOKEN}@srvr.nu/git/jocke/bilhej.git . + git init + git remote add origin https://x-access-token:${FORGEJO_TOKEN}@srvr.nu/git/jocke/bilhej.git + git fetch --depth 1 origin ${GITHUB_SHA} + git checkout FETCH_HEAD - uses: actions/setup-node@v4 with: @@ -66,10 +68,14 @@ jobs: steps: - name: Checkout repository run: | - git clone --depth 1 \ - https://x-access-token:${FORGEJO_TOKEN}@srvr.nu/git/jocke/bilhej.git . + git init + git remote add origin https://x-access-token:${FORGEJO_TOKEN}@srvr.nu/git/jocke/bilhej.git + git fetch --depth 1 origin ${GITHUB_SHA} + git checkout FETCH_HEAD - name: Run E2E test stack + env: + DOCKER_HOST: tcp://dind:2375 run: | docker compose \ -f docker-compose.ci.yml \