mirror of
https://github.com/flutter/holobooth.git
synced 2025-05-17 13:25:59 +08:00
ci: fix firebase functions workflow (#612)
This commit is contained in:
2
.github/workflows/firebase_functions.yaml
vendored
2
.github/workflows/firebase_functions.yaml
vendored
@ -1,4 +1,4 @@
|
||||
me: firebase_functions
|
||||
name: firebase_functions
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
|
22
.github/workflows/firebase_functions_deploy.yaml
vendored
22
.github/workflows/firebase_functions_deploy.yaml
vendored
@ -1,22 +0,0 @@
|
||||
name: firebase_functions_deploy
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- functions/**
|
||||
- .github/workflows/firebase_functions_deploy.yaml
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- id: Deploy
|
||||
uses: google-github-actions/deploy-cloud-functions@main
|
||||
with:
|
||||
credentials: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_PHOTOBOOTH_DEV }}
|
||||
name: shareImage
|
||||
runtime: nodejs14
|
||||
project_id: io-photobooth-dev
|
@ -1,16 +0,0 @@
|
||||
name: firebase_functions_deploy_production
|
||||
|
||||
on: workflow_dispatch
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- id: Deploy
|
||||
uses: google-github-actions/deploy-cloud-functions@main
|
||||
with:
|
||||
credentials: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_KEY }}
|
||||
name: shareImage
|
||||
runtime: nodejs14
|
||||
project_id: io-photobooth-20667
|
@ -30,7 +30,7 @@ module.exports = {
|
||||
'quotes': [ 'error', 'single' ],
|
||||
'array-bracket-spacing': [ 'error', 'always' ],
|
||||
'object-curly-spacing': [ 'error', 'always' ],
|
||||
'max-len': [ 'error', { code: 100, tabWidth: 2 } ],
|
||||
'max-len': [ 'error', { code: 130, tabWidth: 2 } ],
|
||||
'indent': [ 'error', 2 ],
|
||||
'no-unused-vars': [ 'warn' ],
|
||||
'new-cap': [ 'warn' ],
|
||||
|
Reference in New Issue
Block a user