Skip to content

Commit

Permalink
Add credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
momegas committed Apr 22, 2023
1 parent 758e89d commit 5300d24
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/hr-sync.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
name: Sync to Hugging Face hub
on:
push:
branches: [main]

# to run this workflow manually from the Actions tab
workflow_dispatch:

Expand Down Expand Up @@ -35,5 +32,7 @@ jobs:
cat tempfile.txt README.md > newfile.txt
mv newfile.txt README.md
git config --global user.email "[email protected]"
git config --global user.name "momegas"
git commit -m "temp readme with HF config"
git push https://$HF_USERNAME:[email protected]/spaces/$HF_USERNAME/megabots main

0 comments on commit 5300d24

Please sign in to comment.