@@ -89,43 +89,43 @@ jobs:
89
89
name : functions-build-files
90
90
path : functions/lib
91
91
92
- functions-deploy :
93
- if : github.ref == 'refs/heads/master'
94
- needs : functions-build
95
- runs-on : macos-latest
96
- strategy :
97
- matrix :
98
- node-version : [12.x]
99
- steps :
100
- - uses : actions/checkout@main
101
-
102
- - name : Download Artifact
103
- uses : actions/download-artifact@main
104
- with :
105
- name : functions-build-files
106
- path : functions/lib
107
-
108
- - name : Use Node.js ${{ matrix.node-version }}
109
- uses : actions/setup-node@v2
110
- with :
111
- node-version : ${{ matrix.node-version }}
112
-
113
- - name : Get yarn cache directory path
114
- id : yarn-cache-dir-path
115
- run : echo "::set-output name=dir::$(yarn cache dir)"
116
-
117
- - uses : actions/cache@v2
118
- id : yarn-cache
119
- with :
120
- path : ${{ steps.yarn-cache-dir-path.outputs.dir }}
121
- key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
122
- restore-keys : ${{ runner.os }}-yarn-
123
-
124
- - run : yarn install
125
- working-directory : ./functions
126
-
127
- - name : deploy to Firebase Functions
128
- working-directory : ./functions
129
- run : yarn deploy:prod --token=${{ secrets.FIREBASE_TOKEN }}
130
- env :
131
- FIREBASE_TOKEN : ${{ secrets.FIREBASE_TOKEN }}
92
+ # functions-deploy:
93
+ # if: github.ref == 'refs/heads/master'
94
+ # needs: functions-build
95
+ # runs-on: macos-latest
96
+ # strategy:
97
+ # matrix:
98
+ # node-version: [12.x]
99
+ # steps:
100
+ # - uses: actions/checkout@main
101
+
102
+ # - name: Download Artifact
103
+ # uses: actions/download-artifact@main
104
+ # with:
105
+ # name: functions-build-files
106
+ # path: functions/lib
107
+
108
+ # - name: Use Node.js ${{ matrix.node-version }}
109
+ # uses: actions/setup-node@v2
110
+ # with:
111
+ # node-version: ${{ matrix.node-version }}
112
+
113
+ # - name: Get yarn cache directory path
114
+ # id: yarn-cache-dir-path
115
+ # run: echo "::set-output name=dir::$(yarn cache dir)"
116
+
117
+ # - uses: actions/cache@v2
118
+ # id: yarn-cache
119
+ # with:
120
+ # path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
121
+ # key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
122
+ # restore-keys: ${{ runner.os }}-yarn-
123
+
124
+ # - run: yarn install
125
+ # working-directory: ./functions
126
+
127
+ # - name: deploy to Firebase Functions
128
+ # working-directory: ./functions
129
+ # run: yarn deploy:prod --token=${{ secrets.FIREBASE_TOKEN }}
130
+ # env:
131
+ # FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
0 commit comments