From 3b6001f1ac2f7351986bfcc7fcade9405bce7784 Mon Sep 17 00:00:00 2001 From: Shunsuke KITADA Date: Fri, 9 Feb 2024 21:08:28 +0900 Subject: [PATCH] update --- .github/workflows/push_to_space.yaml | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/.github/workflows/push_to_space.yaml b/.github/workflows/push_to_space.yaml index 4720f88..54b7a3c 100644 --- a/.github/workflows/push_to_space.yaml +++ b/.github/workflows/push_to_space.yaml @@ -17,15 +17,14 @@ jobs: steps: - name: Checkout GitHub repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 + with: + path: github-repository - # - name: Checkout Huggingface repository - - # - 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 - - run: | - ls + - name: Checkout Huggingface repository + uses: actions/checkout@v4 + with: + repository: huggingface/layout_alignment + path: huggingface-repository + github-server-url: https://huggingface.co/spaces + token: ${{ secrets.HF_TOKEN }}