fix another typo #4
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Sync Space | |
on: | |
push: | |
branches: | |
- tylertitsworth/issue8 | |
jobs: | |
sync: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Login with Huggingface CLI | |
run: | | |
pip install -U "huggingface_hub[cli]" | |
huggingface-cli login --token ${{ secrets.HF_TOKEN }} --add-to-git-credential | |
- name: Add Remote | |
run: | | |
git remote add hf https://huggingface.co/spaces/TotalSundae/dungeons-and-dragons | |
git fetch hf | |
- name: Add remote-specific files | |
run: | | |
git checkout hf/main data/ | |
git checkout hf/main sources/ | |
git checkout hf/main README.md | |
- name: Push Updates to Remote | |
run: | | |
git push hf main |