aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacky Zhao <[email protected]>2021-04-11 15:14:28 -0700
committerGitHub <[email protected]>2021-04-11 15:14:28 -0700
commitb92aa59f3204eb8b61e3d9a88a4a54cda0dcd292 (patch)
treee6f7a1224aa25ad73e5294e9e0c2be079ccef829
parentMerge pull request #74 from jackyzha0/next-refactor (diff)
parentremove gha for firebase (diff)
downloadctrl-v-b92aa59f3204eb8b61e3d9a88a4a54cda0dcd292.tar.xz
ctrl-v-b92aa59f3204eb8b61e3d9a88a4a54cda0dcd292.zip
Merge pull request #76 from jackyzha0/next-refactor
remove gha for firebase
-rw-r--r--.github/workflows/firebase-hosting-merge.yml26
-rw-r--r--.github/workflows/firebase-hosting-pull-request.yml22
2 files changed, 0 insertions, 48 deletions
diff --git a/.github/workflows/firebase-hosting-merge.yml b/.github/workflows/firebase-hosting-merge.yml
deleted file mode 100644
index 462e16e..0000000
--- a/.github/workflows/firebase-hosting-merge.yml
+++ /dev/null
@@ -1,26 +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
- defaults:
- run:
- working-directory: ./frontend
- steps:
- - uses: actions/checkout@v2
- - run: yarn && yarn build
- - uses: FirebaseExtended/action-hosting-deploy@v0
- with:
- repoToken: '${{ secrets.GITHUB_TOKEN }}'
- firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_CTRL_V_A8EFD }}'
- channelId: live
- projectId: ctrl-v-a8efd
- entryPoint: "./frontend"
- 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 a33a545..0000000
--- a/.github/workflows/firebase-hosting-pull-request.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 PR
-'on': pull_request
-jobs:
- build_and_preview:
- runs-on: ubuntu-latest
- defaults:
- run:
- working-directory: ./frontend
- steps:
- - uses: actions/checkout@v2
- - run: yarn && yarn build
- - uses: FirebaseExtended/action-hosting-deploy@v0
- with:
- repoToken: '${{ secrets.GITHUB_TOKEN }}'
- firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_CTRL_V_A8EFD }}'
- projectId: ctrl-v-a8efd
- entryPoint: "./frontend"
- env:
- FIREBASE_CLI_PREVIEWS: hostingchannels