Skip to content
Merged
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
19 changes: 11 additions & 8 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
name: deploy
on: [push]
on:
workflow_dispatch:
pull_request:
push:
branches:
- production

jobs:
deploy:
Expand All @@ -9,7 +14,6 @@ jobs:
permissions:
id-token: write
contents: read
deployments: write

steps:
- name: Checkout
Expand Down Expand Up @@ -47,10 +51,9 @@ jobs:
--output=built \
--base=https://frontside.com

- name: Upload To Cloudflare Pages
uses: cloudflare/wrangler-action@v3
- name: Upload to Deno Deploy
uses: denoland/deployctl@v1
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
command: pages deploy built --project-name=frontside
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
project: frontside
entrypoint: "jsr:@std/http/file-server"
root: built
Loading