Skip to content

workflow fixes

workflow fixes #2

Workflow file for this run

name: Sync to Hugging Face hub

Check failure on line 1 in .github/workflows/sync2hf.yaml

View workflow run for this annotation

GitHub Actions / Sync to Hugging Face hub

Invalid workflow file

The workflow is not valid. .github/workflows/sync2hf.yaml: Expected stream end parse event
on:
push:
branches: [main]
workflow_dispatch:
jobs:
sync-to-hub:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
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: Push to Hugging Face hub
env:
HF_TOKEN: ${{ secrets.HF_SECRET }}
run: |
git remote add origin https://Ashad001:${{ secrets.SECRET }}@