Skip to content

Commit 7b36ada

Browse files
committed
fix(ci): make deployments work properly
1 parent c3d687c commit 7b36ada

File tree

5 files changed

+7
-6
lines changed

5 files changed

+7
-6
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ cache: yarn
55
script:
66
- yarn setup
77
- yarn test
8-
- yarn deploy
8+
- yarn deploy:ci
99
os:
1010
- linux
1111
- osx

electron-wrapper/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "electron-wrapper",
33
"productName": "ReactTypescriptBoilerplateExample",
4-
"version": "1.1.1",
4+
"version": "1.1.2",
55
"description": "Just a simple electron wrapper for my boilerplate.",
66
"main": "src/index.ts",
77
"scripts": {

functions/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "functions",
3-
"version": "1.1.1",
3+
"version": "1.1.2",
44
"license": "MIT",
55
"author": "Austin Peterson <[email protected]> (https://blog.akpwebdesign.com)",
66
"scripts": {

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-electron-typescript-firebase-boilerplate",
3-
"version": "1.1.1",
3+
"version": "1.1.2",
44
"private": true,
55
"license": "MIT",
66
"author": "Austin Peterson <[email protected]> (https://blog.akpwebdesign.com)",
@@ -40,7 +40,8 @@
4040
"deploy": "yarn build && firebase deploy",
4141
"deploy:web": "yarn build && firebase deploy --only hosting",
4242
"deploy:functions": "yarn build && firebase deploy --only functions",
43-
"deploy:electron": "cd electron-wrapper && yarn deploy"
43+
"deploy:electron": "cd electron-wrapper && yarn deploy",
44+
"deploy:ci": "yarn build && firebase deploy --token \"$FIREBASE_TOKEN\" && --project react-electron-firebase && yarn deploy:electron"
4445
},
4546
"devDependencies": {
4647
"firebase-tools": "^3.18.1"

react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-boilerplate",
3-
"version": "1.1.1",
3+
"version": "1.1.2",
44
"private": true,
55
"license": "MIT",
66
"author": "Austin Peterson <[email protected]> (https://blog.akpwebdesign.com)",

0 commit comments

Comments
 (0)