diff --git a/.github/workflows/production-firebase-hosting-merge.yml b/.github/workflows/production-firebase-hosting-merge.yml index 93ae3f1..09f9890 100644 --- a/.github/workflows/production-firebase-hosting-merge.yml +++ b/.github/workflows/production-firebase-hosting-merge.yml @@ -2,7 +2,7 @@ # https://github.com/firebase/firebase-tools name: Deploy to Firebase Hosting on production -'on': +"on": push: branches: - production @@ -13,14 +13,14 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: - node-version: 14 + node-version: 16 - name: Install npm modules run: yarn install - name: Build app run: yarn predeploy - uses: FirebaseExtended/action-hosting-deploy@v0 with: - repoToken: '${{ secrets.GITHUB_TOKEN }}' + repoToken: "${{ secrets.GITHUB_TOKEN }}" firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_SCALAMATSURI_2023_WEB }} channelId: live projectId: scalamatsuri-2023-web diff --git a/.github/workflows/staging-firebase-hosting-merge.yml b/.github/workflows/staging-firebase-hosting-merge.yml index 475d1aa..81bd7cc 100644 --- a/.github/workflows/staging-firebase-hosting-merge.yml +++ b/.github/workflows/staging-firebase-hosting-merge.yml @@ -2,7 +2,7 @@ # https://github.com/firebase/firebase-tools name: Deploy to Firebase Hosting on staging -'on': +"on": push: branches: - master @@ -13,14 +13,14 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: - node-version: 14 + node-version: 16 - name: Install npm modules run: yarn install - name: Build app run: yarn predeploy - uses: FirebaseExtended/action-hosting-deploy@v0 with: - repoToken: '${{ secrets.GITHUB_TOKEN }}' + repoToken: "${{ secrets.GITHUB_TOKEN }}" firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_SCALAMATSURI_2023_WEB_STAGE }} channelId: live projectId: scalamatsuri-2023-web-stage