Skip to content

Commit

Permalink
github: Add docs update workflow (syncthing#8105)
Browse files Browse the repository at this point in the history
  • Loading branch information
calmh authored Jan 10, 2022
1 parent 0cba315 commit dc0dbed
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/update-docs-translations.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
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@v2
- uses: actions/setup-go@v2
with:
go-version: ^1.17.6
- run: |
set -euo pipefail
git config --global user.name 'Syncthing Automation'
git config --global user.email '[email protected]'
bash build.sh translate
bash build.sh prerelease
git push
env:
TRANSIFEX_USER: ${{ secrets.TRANSIFEX_USER }}
TRANSIFEX_PASS: ${{ secrets.TRANSIFEX_PASS }}

0 comments on commit dc0dbed

Please sign in to comment.