Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
新增voice
  • Loading branch information
jyx04 authored Jun 8, 2024
1 parent 56562d9 commit 0d421e2
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,3 +105,13 @@ jobs:
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
run: wrangler deploy

- name: Generate wrangler.toml for voice worker
run: |
echo "name = \"voice\"" > wrangler.toml
echo "workers_dev = true" >> wrangler.toml
echo "main = \"voice_worker.js\"" >> wrangler.toml
echo "compatibility_date = \"2024-06-01\"" >> wrangler.toml
- name: Publish api worker to Cloudflare Workers
run: wrangler deploy

0 comments on commit 0d421e2

Please sign in to comment.