From de1268922568da1b670ae73cfe4505681ab095f0 Mon Sep 17 00:00:00 2001 From: Claas Augner Date: Mon, 3 Mar 2025 13:27:56 +0100 Subject: [PATCH] fix(dev-build): check out generic-content etc --- .github/workflows/dev-build.yml | 37 +++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/.github/workflows/dev-build.yml b/.github/workflows/dev-build.yml index 61e852adca8d..449ce720c6ce 100644 --- a/.github/workflows/dev-build.yml +++ b/.github/workflows/dev-build.yml @@ -63,6 +63,23 @@ jobs: # so we can figure out each document's last-modified date. fetch-depth: 0 + - uses: actions/checkout@v4 + with: + repository: mdn/mdn-studio + path: mdn/mdn-studio + lfs: true + token: ${{ secrets.MDN_STUDIO_PAT }} + + - uses: actions/checkout@v4 + with: + repository: mdn/generic-content + path: mdn/generic-content + + - uses: actions/checkout@v4 + with: + repository: mdn/curriculum + path: mdn/curriculum + - uses: actions/checkout@v4 with: repository: mdn/translated-content @@ -70,6 +87,23 @@ jobs: # See matching warning for mdn/content checkout step fetch-depth: 0 + - name: Checkout (translated-content-de) + uses: actions/checkout@v4 + with: + repository: mdn/translated-content-de + path: mdn/translated-content-de + + - name: Move de into translated-content + run: | + mv mdn/translated-content-de/files/de mdn/translated-content/files/ + rm -rf mdn/translated-content-de + + - name: Clean and commit de + working-directory: mdn/translated-content + run: | + git add files/de + git -c user.name='MDN' -c user.email='mdn-dev@mozilla.com' commit -m 'de' + - uses: actions/checkout@v4 with: repository: mdn/mdn-contributor-spotlight @@ -120,6 +154,9 @@ jobs: CONTENT_ROOT: ${{ github.workspace }}/mdn/content/files CONTENT_TRANSLATED_ROOT: ${{ github.workspace }}/mdn/translated-content/files CONTRIBUTOR_SPOTLIGHT_ROOT: ${{ github.workspace }}/mdn/mdn-contributor-spotlight/contributors + BLOG_ROOT: ${{ github.workspace }}/mdn/mdn-studio/content/posts + CURRICULUM_ROOT: ${{ github.workspace }}/mdn/curriculum + GENERIC_CONTENT_ROOT: ${{ github.workspace }}/mdn/generic-content/files # rari BUILD_OUT_ROOT: "client/build"