File tree Expand file tree Collapse file tree 7 files changed +43
-15
lines changed Expand file tree Collapse file tree 7 files changed +43
-15
lines changed Original file line number Diff line number Diff line change
1
+ # This file specifies files that are *not* uploaded to Google Cloud Platform
2
+ # using gcloud. It follows the same syntax as .gitignore, with the addition of
3
+ # "#!include" directives (which insert the entries of the given .gitignore-style
4
+ # file at that point).
5
+ #
6
+ # For more information, run:
7
+ # $ gcloud topic gcloudignore
8
+ #
9
+ .gcloudignore
10
+ # If you would like to upload your .git directory, .gitignore file or files
11
+ # from your .gitignore file, remove the corresponding line
12
+ # below:
13
+ .git
14
+ .gitignore
15
+
16
+ # Node.js dependencies:
17
+ node_modules/
18
+
19
+ # my stuff
20
+ LICENSE.txt
21
+ README.md
22
+ *.sh
Load Diff This file was deleted.
File renamed without changes.
Original file line number Diff line number Diff line change
1
+ {
2
+ " automatic_scaling " : {
3
+ " max_instances " : 1,
4
+ " min_instances " : 1
5
+ },
6
+ " env_variables " : {
7
+ " GOOGLE_ANALYTICS " : " NOT_SET"
8
+ },
9
+ " runtime " : " nodejs10"
10
+ }
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
#
3
- # deploy the js backend to Zeit
3
+ # deploy to gcloud
4
4
#
5
5
6
- set -o errexit
7
- set -o pipefail
8
- set -o nounset
6
+ cat app.yaml \
7
+ | jq --sort-keys " .env_variables.LASTMOD|= \" $( date -u +%Y-%m-%dT%H:%M:%SZ ) \" |.env_variables.COMMIT|= \" $( git rev-parse --short HEAD ) \" " \
8
+ | ex -sc ' wq!app.yaml ' /dev/stdin
9
9
10
- now \
11
- --env COMMIT=$( git rev-parse --short HEAD) \
12
- --env LASTMOD=$( date -u +%Y-%m-%dT%H:%M:%SZ) \
13
- && now alias \
14
- && now rm $( cat ./now.json | jq ' .name' --raw-output) --safe --yes
10
+ gcloud config set project regexplanet-xregexp
11
+ gcloud app deploy
12
+
13
+ cat app.yaml \
14
+ | jq ' del(.env_variables.LASTMOD)|del(.env_variables.COMMIT)' \
15
+ | ex -sc ' wq!app.yaml' /dev/stdin
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 9
9
"express" : " ^4.15.4"
10
10
},
11
11
"engines" : {
12
- "node" : " 8.11.3 "
12
+ "node" : " 10 "
13
13
},
14
14
"repository" : {
15
15
"url" : " https://www.github.com/fileformat/regexplanet-xregexp"
You can’t perform that action at this time.
0 commit comments