Skip to content

Commit d7aa928

Browse files
authored
Merge pull request #197 from Scientific-Python-Translations/goanpeca-patch-1
Create sync_content.yml
2 parents 3a417d5 + 439a69f commit d7aa928

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/sync_content.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Sync Content
2+
on:
3+
# schedule:
4+
# - cron: '0 5 * * *' # Daily at 5 am
5+
workflow_dispatch:
6+
jobs:
7+
sync:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Sync Xarray Content
11+
uses: Scientific-Python-Translations/content-sync@main
12+
with:
13+
source-repo: "xarray-contrib/xarray.dev"
14+
source-path: "content/en/"
15+
source-ref: "main"
16+
translations-repo: "Scientific-Python-Translations/xarray-translations"
17+
translations-path: "content/"
18+
translations-source-path: "content/en/"
19+
translations-ref: "main"
20+
auto-merge: "false"
21+
# These are provided by the Scientific Python Project and allow
22+
# automation with bots
23+
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
24+
passphrase: ${{ secrets.PASSPHRASE }}
25+
token: ${{ secrets.TOKEN }}

0 commit comments

Comments
 (0)