mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-14 09:14:10 +00:00
30 lines
908 B
YAML
30 lines
908 B
YAML
name: Update translations and documentation
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: '42 3 * * 1'
|
|
|
|
jobs:
|
|
|
|
update_transifex_docs:
|
|
runs-on: ubuntu-latest
|
|
name: Update translations and documentation
|
|
steps:
|
|
- uses: actions/checkout@629c2de402a417ea7690ca6ce3f33229e27606a5 # v2
|
|
with:
|
|
fetch-depth: 0
|
|
token: ${{ secrets.ACTIONS_GITHUB_TOKEN }}
|
|
- uses: actions/setup-go@bfdd3570ce990073878bf10f6b2d79082de49492 # v2
|
|
with:
|
|
go-version: ^1.17.6
|
|
- run: |
|
|
set -euo pipefail
|
|
git config --global user.name 'Syncthing Release Automation'
|
|
git config --global user.email 'release@syncthing.net'
|
|
bash build.sh translate
|
|
bash build.sh prerelease
|
|
git push
|
|
env:
|
|
TRANSIFEX_USER: ${{ secrets.TRANSIFEX_USER }}
|
|
TRANSIFEX_PASS: ${{ secrets.TRANSIFEX_PASS }}
|