Skip to content

Workflow file for this run

name: Push to Hugging Face Space
# on:
# workflow_run:
# workflows:
# - CI
# branches:
# - main
# types:
# - completed
on: [push]
jobs:
push_to_hub:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Push to Huggingface hub
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
HF_USERNAME: ${{ secrets.HF_USERNAME }}
run: |
git clone https://${HF_USERNAME}:${HF_TOKEN}@huggingface.co/spaces/${HF_USERNAME}/layout_alignment