diff --git a/.firebaserc b/.firebaserc deleted file mode 100644 index 73e19bb..0000000 --- a/.firebaserc +++ /dev/null @@ -1,5 +0,0 @@ -{ - "projects": { - "default": "ionic-whatsapp-4d8f3" - } -} diff --git a/.github/workflows/firebase-hosting-merge.yml b/.github/workflows/firebase-hosting-merge.yml deleted file mode 100644 index 88b61cd..0000000 --- a/.github/workflows/firebase-hosting-merge.yml +++ /dev/null @@ -1,22 +0,0 @@ -# This file was auto-generated by the Firebase CLI -# https://github.com/firebase/firebase-tools - -name: Deploy to Firebase Hosting on merge -'on': - push: - branches: - - master -jobs: - build_and_deploy: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - run: npm ci && npm run build - - uses: FirebaseExtended/action-hosting-deploy@v0 - with: - repoToken: '${{ secrets.GITHUB_TOKEN }}' - firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_IONIC_WHATSAPP_4D8F3 }}' - channelId: live - projectId: ionic-whatsapp-4d8f3 - env: - FIREBASE_CLI_PREVIEWS: hostingchannels diff --git a/.github/workflows/firebase-hosting-pull-request.yml b/.github/workflows/firebase-hosting-pull-request.yml deleted file mode 100644 index 4b6756b..0000000 --- a/.github/workflows/firebase-hosting-pull-request.yml +++ /dev/null @@ -1,18 +0,0 @@ -# This file was auto-generated by the Firebase CLI -# https://github.com/firebase/firebase-tools - -name: Deploy to Firebase Hosting on PR -'on': pull_request -jobs: - build_and_preview: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - run: npm ci && npm run build - - uses: FirebaseExtended/action-hosting-deploy@v0 - with: - repoToken: '${{ secrets.GITHUB_TOKEN }}' - firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_IONIC_WHATSAPP_4D8F3 }}' - projectId: ionic-whatsapp-4d8f3 - env: - FIREBASE_CLI_PREVIEWS: hostingchannels diff --git a/.gitignore b/.gitignore index bd0e94a..ca9ec3d 100644 --- a/.gitignore +++ b/.gitignore @@ -125,6 +125,7 @@ dist .env.development.local .env.test.local .env.production.local +environment.ts .idea diff --git a/firebase.json b/firebase.json deleted file mode 100644 index 273e88f..0000000 --- a/firebase.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "hosting": { - "public": "build", - "ignore": ["firebase.json", "**/.*", "**/node_modules/**"], - "rewrites": [ - { - "source": "**", - "destination": "/index.html" - } - ], - "headers": [ - { - "source": "/**", - "headers": [ - { - "key": "Cache-Control", - "value": "public, max-age=31536000" - } - ] - } - ] - } -}