mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-11-23 21:33:18 +03:00
43220f6db6
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
23 lines
469 B
YAML
23 lines
469 B
YAML
name: Deploy Cloudflare Worker
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
paths:
|
|
- tools/workers/**
|
|
|
|
jobs:
|
|
deploy:
|
|
runs-on: ubuntu-latest
|
|
name: Deploy
|
|
environment: production
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Publish
|
|
uses: cloudflare/wrangler-action@v3.3.1
|
|
with:
|
|
apiToken: ${{ secrets.CF_API_TOKEN }}
|
|
accountId: ${{ secrets.CF_ACCOUNT_ID }}
|
|
workingDirectory: 'tools/workers'
|