Skip to content

Commit

Permalink
feat: add pull translations step
Browse files Browse the repository at this point in the history
  • Loading branch information
Ang-m4 committed Feb 21, 2025
1 parent eb97d8d commit 4bafb91
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/deploy-mfe-s3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,12 @@ jobs:
- name: npm Install
run: npm install

- name: pull translation
if: ${{ vars.ATLAS_OPTIONS != '' }}
run: |
export PATH="$(pwd)/node_modules/.bin:$PATH"
make OPENEDX_ATLAS_PULL=true ATLAS_OPTIONS="${{ vars.ATLAS_OPTIONS }}" pull_translations
- name: npm Build # check env variables of repo.
run: npm run build
env:
Expand All @@ -64,7 +70,7 @@ jobs:
run: cat dist/index.html

- name: Share artifact inside workflow
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ vars.APP_ID }}-dist-artifact
path: dist
Expand All @@ -78,7 +84,7 @@ jobs:
steps:
# get build artifact
- name: Get artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: ${{ vars.APP_ID }}-dist-artifact

Expand Down

0 comments on commit 4bafb91

Please sign in to comment.