Skip to content

Commit

Permalink
fix: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
nekomeowww committed Dec 25, 2024
1 parent c7dcb76 commit a7d7e62
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions .github/workflows/deploy-huggingface-spaces.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,27 +35,37 @@ jobs:
- run: pnpm install
- run: pnpm build

- name: Push to hub
- id: check_moonshine_web_changes
working-directory: ./packages/moonshine-web/dist
run: |-
mv ../README.md .
git add .
git diff --quiet . || echo "changed=true" >> $GITHUB_OUTPUT
- if: steps.check_moonshine_web_changes.outputs.changed == 'true'
working-directory: ./packages/moonshine-web/dist
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
HF_USERNAME: ${{ secrets.HF_USERNAME }}
run: |-
mv ../README.md .
git add .
git config --local user.email "[email protected]"
git config --local user.name "Neko Ayaka"
git commit -m "release: build ${{ github.sha }}"
git push -f
- name: Push to hub
- id: check_whisper_webgpu_changes
working-directory: ./packages/whisper-webgpu/dist
run: |-
mv ../README.md .
git add .
git diff --quiet . || echo "changed=true" >> $GITHUB_OUTPUT
- if: steps.check_whisper_webgpu_changes.outputs.changed == 'true'
working-directory: ./packages/whisper-webgpu/dist
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
HF_USERNAME: ${{ secrets.HF_USERNAME }}
run: |-
mv ../README.md .
git add .
git config --local user.email "[email protected]"
git config --local user.name "Neko Ayaka"
git commit -m "release: build ${{ github.sha }}"
Expand Down

0 comments on commit a7d7e62

Please sign in to comment.