Skip to content

Commit a26e4d6

Browse files
committed
Add cloudflare pages deployment
1 parent d959361 commit a26e4d6

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,16 @@ jobs:
6161
- name: Build 🏗️
6262
run: mv .env.production .env && echo GITHUB_SHA=${GITHUB_SHA} >> .env && pnpm run generate
6363

64-
- name: Deploy 🚀
64+
- name: Cloudflare Deploy 🚀
65+
uses: cloudflare/pages-action@1
66+
with:
67+
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
68+
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
69+
projectName: httpsms
70+
directory: web/dist
71+
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
72+
73+
- name: Firebase Deploy 🚀
6574
uses: FirebaseExtended/action-hosting-deploy@v0
6675
with:
6776
repoToken: "${{ secrets.GITHUB_TOKEN }}"

0 commit comments

Comments
 (0)