Skip to content

Commit

Permalink
fix(dev-build): check out generic-content etc
Browse files Browse the repository at this point in the history
  • Loading branch information
caugner committed Mar 3, 2025
1 parent 912e7e0 commit de12689
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/dev-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,47 @@ 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
path: mdn/translated-content
# 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='[email protected]' commit -m 'de'
- uses: actions/checkout@v4
with:
repository: mdn/mdn-contributor-spotlight
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit de12689

Please sign in to comment.