Fix nginx-ui issue 1455 #382
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: Weblate Pull Branch | |
| on: | |
| workflow_dispatch: | |
| pull_request_target: | |
| branches: | |
| - 'dev' | |
| types: [ closed ] | |
| release: | |
| types: | |
| - published | |
| jobs: | |
| weblate: | |
| runs-on: ubuntu-latest | |
| if: github.event.pull_request.merged == true || github.event.action == 'published' || github.event_name == 'workflow_dispatch' | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Setup Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: '3.14.0' | |
| - name: Install wlc | |
| run: pip install wlc | |
| - name: Update Repository | |
| env: | |
| WEBLATE_TOKEN: ${{ secrets.WEBLATE_TOKEN }} | |
| run: wlc --key $WEBLATE_TOKEN reset nginx-ui |