Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add pull translations step #7

Merged
merged 1 commit into from
Feb 21, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading