From 1fac9b464b34ae40d21bb5ea2257c353d18554a5 Mon Sep 17 00:00:00 2001 From: Guille Date: Mon, 2 Dec 2024 17:53:06 +0100 Subject: [PATCH] Delete .github/workflows/translation.yml (#2344) --- .github/workflows/translation.yml | 56 ------------------------------- 1 file changed, 56 deletions(-) delete mode 100644 .github/workflows/translation.yml diff --git a/.github/workflows/translation.yml b/.github/workflows/translation.yml deleted file mode 100644 index 6030a7a3d1f..00000000000 --- a/.github/workflows/translation.yml +++ /dev/null @@ -1,56 +0,0 @@ -name: Download translation and build docs - -on: - schedule: - - cron: "0 9 * * 1" - workflow_dispatch: - -jobs: - merge_job: - runs-on: ubuntu-latest - permissions: - contents: write - - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: "0" - - - uses: actions/cache@v3 - with: - path: | - ${{ github.workspace }}/**/.cache - key: | - ${{ runner.os }}-docusaurus-${{ hashFiles('**/yarn.lock') }} - restore-keys: | - ${{ runner.os }}-docusaurus-${{ hashFiles('**/yarn.lock') }} - - - name: Set Git config - run: | - git config --local user.email "actions@github.com" - git config --local user.name "Github Actions" - - - name: Checkout and pull build - run: | - git fetch - git checkout build - git pull - - - name: Install dependencies and build - run: | - cd website - yarn - yarn crowdin:download - yarn build - - - name: Commit build - run: | - git add -f ./website/build ./website/.docusaurus ./website/i18n - if git commit -m "add new build";then - git push - else - echo "Nothing to commit" - fi - env: - NODE_OPTIONS: --max-old-space-size=8192 - CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}