Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: deploy
on:
push:
branches:
- trunk

jobs:
deploy:
runs-on: ubuntu-latest
environment: github-proxy-prod
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
- uses: actions/cache@v4
id: cache-packages
with:
path: |
~/.bun/install/cache
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lockb') }}

- run: bun install --frozen-lockfile
- run: bun run deploy
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
Binary file modified bun.lockb
Binary file not shown.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"size-limit": "11.2.0",
"svgo": "3.3.2",
"typescript": "5.8.2",
"wrangler": "3.114.3"
"wrangler": "4.6.0"
},
"@parcel/transformer-css": {
"drafts": {
Expand Down
6 changes: 4 additions & 2 deletions wrangler.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
[build]
command = "parcel build"
name = "github-proxy"
pages_build_output_dir = "./dist"
compatibility_date = "2025-04-01"
compatibility_flags = [ "nodejs_compat" ]