Add timestamps and tokens for .Net's online models. (#690)

This commit is contained in:
Fangjun Kuang
2024-03-23 18:51:56 +08:00
committed by GitHub
parent e6da2c5556
commit 1952772654
26 changed files with 135 additions and 73 deletions

View File

@@ -101,7 +101,7 @@ jobs:
# https://huggingface.co/docs/hub/spaces-github-actions
- name: Publish to huggingface
if: github.repository_owner == 'csukuangfj' || github.repository_owner == 'k2-fsa' && github.event_name == 'push' && contains(github.ref, 'refs/tags/')
if: (github.repository_owner == 'csukuangfj' || github.repository_owner == 'k2-fsa') && (github.event_name == 'push' && github.event_name == 'workflow_dispatch')
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
run: |