-
Notifications
You must be signed in to change notification settings - Fork 2
25 lines (25 loc) · 889 Bytes
/
sync_content.yml
File metadata and controls
25 lines (25 loc) · 889 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
name: Sync Content
on:
# schedule:
# - cron: '0 5 * * *' # Daily at 5 am
workflow_dispatch:
jobs:
sync_content:
runs-on: ubuntu-latest
steps:
- name: Sync Xarray Content
uses: Scientific-Python-Translations/content-sync@main
with:
source-repo: "xarray-contrib/xarray.dev"
source-path: "src/locales/en/"
source-ref: "main"
translations-repo: "Scientific-Python-Translations/xarray-translations"
translations-path: "src/locales/"
translations-source-path: "src/locales/en/"
translations-ref: "main"
auto-merge: "false"
# These are provided by the Scientific Python Project and allow
# automation with bots
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.PASSPHRASE }}
token: ${{ secrets.TOKEN }}