deploy-schema-worker.yml 682 B

12345678910111213141516171819202122232425
  1. # Copyright 2019-2024 Tauri Programme within The Commons Conservancy
  2. # SPDX-License-Identifier: Apache-2.0
  3. # SPDX-License-Identifier: MIT
  4. name: deploy schema worker
  5. on:
  6. push:
  7. branches:
  8. - dev
  9. paths:
  10. - '.github/workflows/deploy-schema-worker.yml'
  11. - 'crates/tauri-schema-worker/**'
  12. jobs:
  13. deploy:
  14. runs-on: ubuntu-latest
  15. steps:
  16. - uses: actions/checkout@v4
  17. - uses: cloudflare/wrangler-action@v3
  18. with:
  19. command: deploy
  20. workingDirectory: 'crates/tauri-schema-worker'
  21. apiToken: ${{ secrets.SCHEMA_WORKER_CLOUDFLARE_API_TOKEN }}
  22. accountId: ${{ secrets.SCHEMA_WORKER_CLOUDFLARE_ACCOUNT_ID }}