Skip to content

Commit

Permalink
workflow fixes 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashad001 committed Oct 19, 2024
1 parent ef09a44 commit ddaa5a9
Showing 1 changed file with 12 additions and 13 deletions.
25 changes: 12 additions & 13 deletions .github/workflows/sync2hf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,18 @@ jobs:
with:
fetch-depth: 0

- name: Replace README content
run: |
cat > README.md <<EOL
---
title: Room Aligner
emoji: 🏠
colorFrom: blue
colorTo: red
sdk: fastapi
app_file: app.py
pinned: false
---
EOL
- name: Replace README content
run: |
echo "---" > README.md
echo "title: Room Aligner" >> README.md
echo "emoji: 🏠" >> README.md
echo "colorFrom: blue" >> README.md
echo "colorTo: red" >> README.md
echo "sdk: fastapi" >> README.md
echo "app_file: app.py" >> README.md
echo "pinned: false" >> README.md
echo "---" >> README.md

- name: Push to Hugging Face hub
env:
Expand Down

0 comments on commit ddaa5a9

Please sign in to comment.