Skip to content

Commit 872780c

Browse files
committed
Fix examples
1 parent b74def2 commit 872780c

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ jobs:
1919
env:
2020
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2121
with:
22-
source-repo: "scientificpythontranslations/pandas"
23-
source-folder: "pandas/web/pandas/"
24-
source-ref: "test-trans"
25-
translations-repo: "scientificpythontranslations/pandas-translations"
26-
translations-folder: "pandas-translations/content/en/"
22+
source-repo: "Scientific-Python-Translations/numpy.org"
23+
source-folder: "numpy-org/content/en/"
24+
source-ref: "main"
25+
translations-repo: "Scientific-Python-Translations/numpy.org-translations"
26+
translations-folder: "numpy.org-translations/content/en/"
2727
translations-ref: "main"
2828
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
2929
passphrase: ${{ secrets.PASSPHRASE }}

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ jobs:
4343
uses: Scientific-Python-Translations/content-sync@main
4444
with:
4545
source-repo: "numpy/numpy.org"
46-
source-folder: "content/en/"
46+
source-folder: "numpy.org/content/en/"
4747
source-ref: "main"
4848
translations-repo: "Scientific-Python-Translations/numpy.org-translations"
49-
translations-folder: "content/en/"
49+
translations-folder: "numpy.org-translations/content/en/"
5050
translations-ref: "main"
5151
# These are provided by the Scientific Python Project and allow
5252
# automation with bots
@@ -57,14 +57,14 @@ jobs:
5757
5858
### Inputs
5959
60-
| Input | Required | Default | Description |
61-
| --------------------- | -------- | ------- | -------------------------------------------------------------------------- |
62-
| `source-repo` | ✅ | — | GitHub repo with the source content (e.g., `numpy/numpy.org`). |
63-
| `source-folder` | ✅ | — | Path to the content folder in the source repo (e.g., `content/en/`). |
64-
| `source-ref` | ❌ | `main` | Branch or tag to sync from. |
65-
| `translations-repo` | ✅ | — | Target repo for translated content (e.g., `org/site-translations`). |
66-
| `translations-folder` | ✅ | - | Path to the content folder in the translations repo (e.g., `content/en/`). |
67-
| `translations-ref` | ❌ | `main` | Branch of the target translations repo. |
60+
| Input | Required | Default | Description |
61+
| --------------------- | -------- | ------- | ------------------------------------------------------------------------------------------------- |
62+
| `source-repo` | ✅ | — | GitHub repo with the source content (e.g., `numpy/numpy.org`). |
63+
| `source-folder` | ✅ | — | Path to the content folder in the source repo (e.g., `numpy.org/content/en/`). |
64+
| `source-ref` | ❌ | `main` | Branch or tag to sync from. |
65+
| `translations-repo` | ✅ | — | Target repo for translated content (e.g., `org/site-translations`). |
66+
| `translations-folder` | ✅ | - | Path to the content folder in the translations repo (e.g., `numpy.org-translations/content/en/`). |
67+
| `translations-ref` | ❌ | `main` | Branch of the target translations repo. |
6868

6969
## 🛠️ Setup Instructions
7070

0 commit comments

Comments
 (0)