name: Deploy to Hugging Face Spaces on: push: branches: [master] jobs: deploy: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 with: fetch-depth: 0 lfs: true - name: Push to Hugging Face Space run: | git remote add hf https://edward70:${{ secrets.HF_TOKEN }}@huggingface.co/spaces/edward70/sitegen git push hf master:main --force