diff --git a/.ci/transifex/docker.sh b/.ci/transifex/docker.sh index c8c023a7e5..d0857142de 100755 --- a/.ci/transifex/docker.sh +++ b/.ci/transifex/docker.sh @@ -1,14 +1,5 @@ #!/bin/bash -e -# Setup RC file for tx -cat << EOF > ~/.transifexrc -[https://www.transifex.com] -hostname = https://www.transifex.com -username = api -password = $TRANSIFEX_API_TOKEN -EOF - - set -x cat << 'EOF' > /usr/bin/tx diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a0e58c8a70..67a00dfaf5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -218,10 +218,11 @@ jobs: - uses: actions/checkout@v3 with: submodules: recursive + fetch-depth: 0 - name: Update Translation run: ./.ci/transifex/docker.sh env: - TRANSIFEX_API_TOKEN: ${{ secrets.TRANSIFEX_API_TOKEN }} + TX_TOKEN: ${{ secrets.TRANSIFEX_API_TOKEN }} release: runs-on: ubuntu-latest needs: [build, android, macos-universal, source, windows]