Skip to content

Commit 8febdf3

Browse files
committed
fix: add deployment to cloudflare
1 parent a6644da commit 8febdf3

2 files changed

Lines changed: 10 additions & 11 deletions

File tree

.github/workflows/web.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
deploy:
5252
name: Deploy
5353
needs: validate
54-
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
54+
# if: github.event_name == 'push' && github.ref == 'refs/heads/main'
5555
runs-on: ubuntu-latest
5656

5757
steps:
@@ -78,11 +78,11 @@ jobs:
7878
directory: web/.output/public
7979
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
8080

81-
- name: Firebase Deploy 🚀
82-
uses: FirebaseExtended/action-hosting-deploy@v0
83-
with:
84-
repoToken: "${{ secrets.GITHUB_TOKEN }}"
85-
channelId: live
86-
entryPoint: "./web"
87-
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_HTTPSMS_86C51 }}"
88-
projectId: httpsms-86c51
81+
# - name: Firebase Deploy 🚀
82+
# uses: FirebaseExtended/action-hosting-deploy@v0
83+
# with:
84+
# repoToken: "${{ secrets.GITHUB_TOKEN }}"
85+
# channelId: live
86+
# entryPoint: "./web"
87+
# firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_HTTPSMS_86C51 }}"
88+
# projectId: httpsms-86c51

web/.env.production

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
API_BASE_URL=https://api.httpsms.com
2-
32
APP_URL=https://httpsms.com
43
APP_NAME=httpSMS
54
APP_GITHUB_URL=https://github.com/NdoleStudio/httpsms
@@ -21,4 +20,4 @@ FIREBASE_MEASUREMENT_ID=G-EZ5W9DVK8T
2120
CLOUDFLARE_TURNSTILE_SITE_KEY=0x4AAAAAAA6Hpp8SDyMMPhWg
2221

2322
PUSHER_KEY=a4809008d8f03aaab022
24-
PUSHER_CLUSTER=mt1
23+
PUSHER_CLUSTER=mt1

0 commit comments

Comments
 (0)