diff options
Diffstat (limited to '.github/workflows/sync-translated-content.yml')
-rw-r--r-- | .github/workflows/sync-translated-content.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/sync-translated-content.yml b/.github/workflows/sync-translated-content.yml index 4516c68c7c..d05f29eb65 100644 --- a/.github/workflows/sync-translated-content.yml +++ b/.github/workflows/sync-translated-content.yml @@ -42,7 +42,7 @@ jobs: run: | yarn --frozen-lockfile - - name: Build changed content + - name: Sync translated content env: CONTENT_ROOT: ${{ github.workspace }}/mdn/content/files CONTENT_TRANSLATED_ROOT: ${{ github.workspace }}/files @@ -58,6 +58,6 @@ jobs: git remote add upstream "https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git" git config --local user.email "actions@users.noreply.github.com" git config --local user.name "MDN" - git commit -a -m "[CRON] sync translated content" - git pull --rebase upstream main + git commit -a -m "[CRON] sync translated content" && \ + git pull --rebase upstream main && \ git push upstream main |