Skip to content

Commit d2e46f3

Browse files
committed
Make environment variable available
1 parent 4e910c7 commit d2e46f3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/sync.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,17 +98,23 @@ jobs:
9898
run: |
9999
./scripts/stats.py
100100
git -C ./${{ env.PYDOC_LANG_DIR }} diff stats.json
101+
env:
102+
PYDOC_LANG_DIR: ${{ env.PYDOC_LANG_DIR }}
101103

102104
- name: Update potodo.md
103105
if: always()
104106
run: |
105107
./scripts/potodo.sh
106108
git -C ./${{ env.PYDOC_LANG_DIR }} diff potodo.md
109+
env:
110+
PYDOC_LANG_DIR: ${{ env.PYDOC_LANG_DIR }}
107111

108112
# 4- Commit and push translations
109113

110114
- name: Commit
111115
run: ./scripts/commit.sh
116+
env:
117+
PYDOC_LANG_DIR: ${{ env.PYDOC_LANG_DIR }}
112118

113119
- name: Push
114120
if: ${{ contains(fromJSON('["schedule", "workflow_dispatch"]'), github.event_name) }}

0 commit comments

Comments
 (0)