Skip to content
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.

Commit

Permalink
Cloudflare pages
Browse files Browse the repository at this point in the history
  • Loading branch information
hmziqrs committed Nov 14, 2024
1 parent 2047946 commit 84f933c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,14 @@ jobs:
- name: Build Expo Web
run: bunx expo export -p web

- name: Deploy cloudflare pages
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
packageManager: "bun"
command: pages deploy ./dist --project-name=movieui --branch=main

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
Expand Down

0 comments on commit 84f933c

Please sign in to comment.