From e9bf4a13136a79a62cce39134187678deebfecae Mon Sep 17 00:00:00 2001 From: adina Date: Wed, 1 Apr 2026 08:12:36 +0000 Subject: [PATCH 1/2] fix: environment variable syntax --- .forgejo/workflows/update_publications_data.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.forgejo/workflows/update_publications_data.yaml b/.forgejo/workflows/update_publications_data.yaml index b2bc5e7..03d20ce 100644 --- a/.forgejo/workflows/update_publications_data.yaml +++ b/.forgejo/workflows/update_publications_data.yaml @@ -23,7 +23,7 @@ jobs: jq --version - name: Update pages run: | - dtc get-records ${DUMPTHINGS_APIURL} public -C XYZPublication \ + dtc get-records ${{ env.DUMPTHINGS_APIURL }} public -C XYZPublication \ | qri inline-records -p about -p attributed_to -c public \ | jq -sc '{pid: "xyzri:this-is-not-important", publications: .}' \ | qri render-record page_templates/publications.json.j2 'data/publications.json' -- 2.52.0 From c8fb3d0bf87831165fce03ea14dd53c8ea408ec1 Mon Sep 17 00:00:00 2001 From: adina Date: Wed, 1 Apr 2026 08:20:57 +0000 Subject: [PATCH 2/2] CI: switch to apt-based installation --- .forgejo/workflows/update_publications_data.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.forgejo/workflows/update_publications_data.yaml b/.forgejo/workflows/update_publications_data.yaml index b2bc5e7..5788f14 100644 --- a/.forgejo/workflows/update_publications_data.yaml +++ b/.forgejo/workflows/update_publications_data.yaml @@ -18,9 +18,8 @@ jobs: uses: ./.forgejo/actions/prep-metadata-query - name: Install jq run: | - curl -o ~/.local/bin/jq https://github.com/jqlang/jq/releases/download/jq-1.8.1/jq-linux-amd64 - chmod +x ~/.local/bin/jq - jq --version + apt-get update + apt-get install -y jq - name: Update pages run: | dtc get-records ${DUMPTHINGS_APIURL} public -C XYZPublication \ -- 2.52.0