Skip to content

Sync Content

Sync Content #24

Workflow file for this run

name: Sync Content
on:
schedule:
- cron: '0 5 * * *' # Daily at 5 am
workflow_dispatch:
jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Sync Numpy Content
uses: Scientific-Python-Translations/content-sync@main
with:
source-repo: "numpy/numpy.org"
source-folder: "numpy.org/content/en/"
source-ref: "main"
translations-repo: "Scientific-Python-Translations/numpy.org-translations"
translations-folder: "numpy.org-translations/content/en/"
translations-ref: "main"
# 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 }}