Skip to content

Commit

Permalink
Merge pull request #597 from dzcode-io/switch-from-firebase-to-cloudf…
Browse files Browse the repository at this point in the history
…lare

feat: Switch from firebase to cloudflare
  • Loading branch information
souhaib-benbouzid authored Sep 14, 2024
2 parents 0c8f3e8 + 4ee9f15 commit acc98d6
Show file tree
Hide file tree
Showing 12 changed files with 1,820 additions and 4,383 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/cd.deploy.stg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ jobs:
CI: true
STAGE: staging
SSH_ADDRESS_STG: ${{ secrets.SSH_ADDRESS_STG }}
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
DEPLOY_VERSION: ${{ github.ref_type == 'tag' && github.ref_name || format('stg-0.0.0-{0}-{1}-{2}', github.ref_name, github.run_number, github.run_attempt) }}

steps:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/cd.deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ jobs:
CI: true
STAGE: production
SSH_ADDRESS_PRD: ${{ secrets.SSH_ADDRESS_PRD }}
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
DEPLOY_VERSION: ${{ github.ref_type == 'tag' && github.ref_name || format('0.0.0-{0}-{1}-{2}', github.ref_name, github.run_number, github.run_attempt) }}

steps:
Expand Down
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ src/_e2e-test/videos
src/_e2e-test/screenshots

# Project
firebase/public
firebase/data
*/cloudflare/public

# mobile
mobile/.expo
Expand Down
Loading

0 comments on commit acc98d6

Please sign in to comment.