diff options
author | Florian Dieminger <me@fiji-flo.de> | 2021-03-11 23:07:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-11 17:07:13 -0500 |
commit | bed4d75a6446747baec67da8889d1aabd5511e2a (patch) | |
tree | 4283661abcb2c24f0679b83e32cb4fff741c74de /.github | |
parent | 3d8d4fef4402f5df76c13b28d1515d290c4f7f91 (diff) | |
download | translated-content-bed4d75a6446747baec67da8889d1aabd5511e2a.tar.gz translated-content-bed4d75a6446747baec67da8889d1aabd5511e2a.tar.bz2 translated-content-bed4d75a6446747baec67da8889d1aabd5511e2a.zip |
fix sync action (#107)
- don't show an error
- fix name
Diffstat (limited to '.github')
-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 |