Publish vocabulary data to Hugging Face Datasets (#20)
Browse files- .github/workflows/ci-cd.yaml +14 -0
.github/workflows/ci-cd.yaml
CHANGED
@@ -191,3 +191,17 @@ jobs:
|
|
191 |
NEO4J_DATABASE: ${{ secrets.NEO4J_DATABASE }}
|
192 |
NEO4J_USERNAME: ${{ secrets.NEO4J_USERNAME }}
|
193 |
NEO4J_PASSWORD: ${{ secrets.NEO4J_PASSWORD }}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
191 |
NEO4J_DATABASE: ${{ secrets.NEO4J_DATABASE }}
|
192 |
NEO4J_USERNAME: ${{ secrets.NEO4J_USERNAME }}
|
193 |
NEO4J_PASSWORD: ${{ secrets.NEO4J_PASSWORD }}
|
194 |
+
|
195 |
+
sync-to-huggingface-space:
|
196 |
+
if: github.ref == 'refs/heads/master'
|
197 |
+
needs: tests
|
198 |
+
runs-on: ubuntu-latest
|
199 |
+
steps:
|
200 |
+
- uses: actions/checkout@v3
|
201 |
+
with:
|
202 |
+
fetch-depth: 0
|
203 |
+
lfs: true
|
204 |
+
- name: Push to hub
|
205 |
+
run: git push https://QubitPi:[email protected]/datasets/QubitPi/wilhelm-vocabulary master:main -f
|
206 |
+
env:
|
207 |
+
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|