From f44483f0f7abd521fc54eb689de6ab50a585edca Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sat, 28 Oct 2023 13:39:16 -0300 Subject: [PATCH] actions: install code repo. darn it --- .github/workflows/archive_thumbnails_artifact.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/archive_thumbnails_artifact.yml b/.github/workflows/archive_thumbnails_artifact.yml index c023d00b..d6f2d602 100644 --- a/.github/workflows/archive_thumbnails_artifact.yml +++ b/.github/workflows/archive_thumbnails_artifact.yml @@ -17,6 +17,13 @@ jobs: packages: imagemagick version: 1.0 + - name: Checkout corresponding canonical code repo + uses: actions/checkout@v4 + with: + repository: hsmusic/hsmusic-wiki + ref: ${{ github.ref_name }} + path: code + - name: Checkout corresponding canonical data repo uses: actions/checkout@v4 with: @@ -31,6 +38,10 @@ jobs: ref: ${{ github.ref }} path: media + - name: Install code repository + working-directory: ./code + run: npm ci + - name: Generate thumbnails run: | node code/src/upd8.js \