name: Publish to Crowdin on: push: tags: - "*" jobs: deploy: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Set up Python uses: actions/setup-python@v1 with: python-version: '3.8' - name: Install dependencies run: | curl https://artifacts.crowdin.com/repo/GPG-KEY-crowdin | sudo apt-key add - echo "deb https://artifacts.crowdin.com/repo/deb/ /" | sudo tee -a /etc/apt/sources.list sudo apt-get update -qq sudo apt-get install -y crowdin pip install redgettext==3.1 - name: Publish env: CROWDIN_API_KEY: ${{ secrets.crowdin_token}} CROWDIN_PROJECT_ID: ${{ secrets.crowdin_identifier }} run: | make upload_translations