2024-11-26 11:29:37 +00:00
|
|
|
name: Deploy Hono
|
|
|
|
|
2024-11-26 11:27:14 +00:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
2024-11-26 11:30:14 +00:00
|
|
|
- master
|
2024-11-26 11:29:37 +00:00
|
|
|
|
2024-11-26 11:27:14 +00:00
|
|
|
jobs:
|
|
|
|
deploy:
|
|
|
|
runs-on: ubuntu-latest
|
2024-11-26 11:29:37 +00:00
|
|
|
name: Deploy
|
2024-11-26 11:27:14 +00:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v4
|
2024-11-26 11:29:37 +00:00
|
|
|
- name: Deploy
|
2024-11-26 11:27:14 +00:00
|
|
|
uses: cloudflare/wrangler-action@v3
|
|
|
|
with:
|
|
|
|
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
|
|
|
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
|
|
|
|
workingDirectory: "new-functions"
|