We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 51f2618 + d5e5773 commit 3f43189Copy full SHA for 3f43189
1 file changed
.github/workflows/deploy.yaml
@@ -1,5 +1,10 @@
1
name: deploy
2
-on: [push]
+on:
3
+ workflow_dispatch:
4
+ pull_request:
5
+ push:
6
+ branches:
7
+ - production
8
9
jobs:
10
deploy:
@@ -9,7 +14,6 @@ jobs:
14
permissions:
15
id-token: write
11
16
contents: read
12
- deployments: write
13
17
18
steps:
19
- name: Checkout
@@ -47,10 +51,9 @@ jobs:
47
51
--output=built \
48
52
--base=https://frontside.com
49
53
50
- - name: Upload To Cloudflare Pages
- uses: cloudflare/wrangler-action@v3
54
+ - name: Upload to Deno Deploy
55
+ uses: denoland/deployctl@v1
56
with:
- apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
- accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
- command: pages deploy built --project-name=frontside
- gitHubToken: ${{ secrets.GITHUB_TOKEN }}
57
+ project: frontside
58
+ entrypoint: "jsr:@std/http/file-server"
59
+ root: built
0 commit comments