Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion examples/react-firebase/.github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,19 @@ jobs:
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
GITHUB_REF: ${{ github.ref }}
GITHUB_HEAD_REF: ${{ github.head_ref }}
# Deploy to project associated with branch name alias in .firebaserc.
# Deploy to project associated with branch name alias in .firebaserc with message set to commit's message.
# Force flag is used to automatically delete any removed cloud functions
run: |
$(yarn bin)/firebase-ci deploy -s --force

# Archive debug logs if deploy fails
- name: Archive Debug Logs
if: ${{ failure() }}
uses: actions/upload-artifact@v2
with:
name: debug-logs
path: ./*.log

- name: Check if version has been updated
if: github.ref == 'refs/heads/prod'
id: check
Expand Down
10 changes: 9 additions & 1 deletion examples/react-firestore/.github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,19 @@ jobs:
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
GITHUB_REF: ${{ github.ref }}
GITHUB_HEAD_REF: ${{ github.head_ref }}
# Deploy to project associated with branch name alias in .firebaserc.
# Deploy to project associated with branch name alias in .firebaserc with message set to commit's message.
# Force flag is used to automatically delete any removed cloud functions
run: |
$(yarn bin)/firebase-ci deploy -s --force

# Archive debug logs if deploy fails
- name: Archive Debug Logs
if: ${{ failure() }}
uses: actions/upload-artifact@v2
with:
name: debug-logs
path: ./*.log

- name: Check if version has been updated
if: github.ref == 'refs/heads/prod'
id: check
Expand Down
10 changes: 9 additions & 1 deletion generators/app/templates/.github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,19 @@ jobs:
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
GITHUB_REF: ${{ github.ref }}
GITHUB_HEAD_REF: ${{ github.head_ref }}
# Deploy to project associated with branch name alias in .firebaserc.
# Deploy to project associated with branch name alias in .firebaserc with message set to commit's message.
# Force flag is used to automatically delete any removed cloud functions
run: |
$(<% if(useYarn) { %>yarn<% } else { %>npm<% } %> bin)/firebase-ci deploy -s --force

# Archive debug logs if deploy fails
- name: Archive Debug Logs
if: ${{ failure() }}
uses: actions/upload-artifact@v2
with:
name: debug-logs
path: ./*.log

- name: Check if version has been updated
if: github.ref == 'refs/heads/prod'
id: check
Expand Down
2 changes: 1 addition & 1 deletion generators/app/templates/functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"nyc": "^15.1.0",<% } %>
"rimraf": "^3.0.2"<% if(includeFunctionsTests && functionsTestTool === 'mocha') { %>,
"sinon": "^9.2.4"<% } %><% if(typescriptCloudFunctions && includeFunctionsTests && functionsTestTool === 'jest') { %>,
"ts-jest": "^26.4.2a"<% } %><% if(typescriptCloudFunctions) { %>,
"ts-jest": "^26.4.2"<% } %><% if(typescriptCloudFunctions) { %>,
"ts-node": "^9.1.1",
"typescript": "^4.2.4"<% } %>
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "generator-react-firebase",
"version": "8.0.0",
"version": "8.0.1",
"description": "React and Firebase project generator (with option for Redux).",
"main": "generators/index.js",
"scripts": {
Expand Down