Skip to content

Commit

Permalink
Deploy now to different accounts.
Browse files Browse the repository at this point in the history
  • Loading branch information
blaubaer committed Dec 20, 2023
1 parent a71f689 commit 5c8a761
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Deploy Legacy
uses: cloudflare/wrangler-action@v3
with:
command: deploy -c wrangler_legacy.toml
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}

- name: Deploy
uses: cloudflare/wrangler-action@v3
with:
Expand Down
4 changes: 2 additions & 2 deletions wrangler.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name = "packages_echocat_org"
main = "src/index.ts"
compatibility_date = "2023-12-19"
account_id = "eae269e15c934608f8593a46c8628bcc"
account_id = "76cbc9ff3d45b6d0e9963e41ddeb9b71"

kv_namespaces = [
{ binding = "KV", id = "2aebe3f8f0b7463397f06cf498d082fa", preview_id = "194372f42e834b6ca81e0dd188bb59d1" }
{ binding = "KV", id = "3f57607bdf1e4fdda53131b1dfffd321", preview_id = "07bf3358543541d4a25d6461f564a438" }
]

node_compat = true
Expand Down
16 changes: 16 additions & 0 deletions wrangler_legacy.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name = "packages_echocat_org"
main = "src/index.ts"
compatibility_date = "2023-12-19"
account_id = "eae269e15c934608f8593a46c8628bcc"

kv_namespaces = [
{ binding = "KV", id = "2aebe3f8f0b7463397f06cf498d082fa", preview_id = "194372f42e834b6ca81e0dd188bb59d1" }
]

node_compat = true

[vars]
GITHUB_ACCESS_USER = "echocatbot"

[triggers]
crons = [ "0 * * * *" ]

0 comments on commit 5c8a761

Please sign in to comment.