From bed4d75a6446747baec67da8889d1aabd5511e2a Mon Sep 17 00:00:00 2001 From: Florian Dieminger Date: Thu, 11 Mar 2021 23:07:13 +0100 Subject: fix sync action (#107) - don't show an error - fix name --- .github/workflows/sync-translated-content.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '.github/workflows/sync-translated-content.yml') 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 -- cgit v1.2.3-54-g00ecf