Initial commit
This commit is contained in:
1 parent
3e1e87f4ea
commit
9b9c35f914
5 files changed
+2292
-1
No files matched your search
@@ -0,0 +1,18 @@
|
||||
name: Deploy to Cloudflare Workers
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
- name: Install Wrangler
|
||||
run: npm install -g wrangler
|
||||
- name: Publish to Cloudflare Workers
|
||||
run: wrangler deploy _worker.js --compatibility-date 2024-08-23
|
||||
env:
|
||||
CF_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
||||
CF_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
|
||||
@@ -657,7 +657,7 @@ notice like this when it starts in an interactive mode:
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||
The hypothetical commands `show w' and`show c' should show the appropriate
|
||||
parts of the General Public License. Of course, your program's commands
|
||||
might be different; for a GUI interface, you would use an "about box".
|
||||
|
||||
|
||||
+2265
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,7 @@
|
||||
#:schema node_modules/wrangler/config-schema.json
|
||||
name = "qr-code-generator"
|
||||
main = "src/index.js"
|
||||
compatibility_date = "2024-08-21"
|
||||
compatibility_flags = ["nodejs_compat"]
|
||||
[placement]
|
||||
mode = "smart"
|
||||
Reference in new issue
Block a user