Don't crash if the avatar or displayname is missing #15
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Upload translation files to Localazy | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| upload: | |
| runs-on: ubuntu-24.04 | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Checkout the code | |
| uses: actions/checkout@v5 | |
| - name: Install pnpm | |
| uses: pnpm/[email protected] | |
| - name: Install Node | |
| uses: actions/[email protected] | |
| with: | |
| node-version: 22 | |
| cache: pnpm | |
| - name: Install dependencies | |
| run: pnpm install | |
| - name: Upload translations to Localazy | |
| run: pnpm localazy upload -w "$LOCALAZY_WRITE_KEY" | |
| env: | |
| LOCALAZY_WRITE_KEY: ${{ secrets.LOCALAZY_WRITE_KEY }} |