Read-only mirror — the public repositories of the Forgejo instance, refreshed every 10 minutes. The live instance (fg.dieschoenewolke.de) is reachable only over the VPN; clone here with https://git.dieschoenewolke.de/git/<owner>/<repo>.git.
summaryrefslogtreecommitdiff
path: root/.forgejo/workflows/mirror-sync.yml
diff options
context:
space:
mode:
Diffstat (limited to '.forgejo/workflows/mirror-sync.yml')
-rw-r--r--.forgejo/workflows/mirror-sync.yml9
1 files changed, 5 insertions, 4 deletions
diff --git a/.forgejo/workflows/mirror-sync.yml b/.forgejo/workflows/mirror-sync.yml
index c4ee23c..f40f3d8 100644
--- a/.forgejo/workflows/mirror-sync.yml
+++ b/.forgejo/workflows/mirror-sync.yml
@@ -39,10 +39,6 @@ jobs:
timeout-minutes: 30
container:
image: docker:29-cli
- env:
- # shared by the verify and publish steps; a step-level env would not be
- # visible to the next step
- MARKERS_FILE: ${{ runner.temp }}/mirror-markers
steps:
- name: Install workflow tools
# nodejs is required by actions/checkout inside this image
@@ -55,6 +51,9 @@ jobs:
- name: Compare upstream and mirror, verify, mark
env:
+ # same fixed path in the publish step: Forgejo's job schema has no
+ # job-level env, and there is no runner.temp variable here.
+ MARKERS_FILE: /tmp/mirror-markers
# docker:cli keeps the CLI in /usr/local/bin; the runner's DOCKER_HOST
# points at the daemon, so the pull goes over the public hostname and
# the real TLS/edge path.
@@ -62,6 +61,8 @@ jobs:
run: ./scripts/verify-mirror.sh
- name: Publish marker tags
+ env:
+ MARKERS_FILE: /tmp/mirror-markers
run: |
set -eu
file="$MARKERS_FILE"