File tree Expand file tree Collapse file tree 5 files changed +328
-9
lines changed Expand file tree Collapse file tree 5 files changed +328
-9
lines changed Original file line number Diff line number Diff line change
1
+ * ~
2
+ * .amp.html
3
+ .cache
4
+ * .class
5
+ crash.log
6
+ dist /
7
+ .DS_Store
8
+ * .env
9
+ * .gz
10
+ .idea /
11
+ .jekyll-metadata
12
+ node_modules /
13
+ * .pyc
14
+ .sass-cache /
15
+ _site /
16
+ tmp /
17
+ _tmp /
18
+ * .tgz
19
+ venv /
20
+ .vscode /
21
+ * .zip
Original file line number Diff line number Diff line change @@ -2,15 +2,18 @@ application: regexplanet-go
2
2
version : 1
3
3
runtime : go
4
4
api_version : go1
5
-
6
5
handlers :
7
6
- url : /favicon.ico
8
7
static_files : favicon.ico
9
8
upload : favicon.ico
10
-
9
+ - url : /favicon.svg
10
+ static_files : favicon.svg
11
+ upload : favicon.svg
11
12
- url : /robots.txt
12
13
static_files : robots.txt
13
14
upload : robots.txt
14
-
15
15
- url : /.*
16
16
script : _go_app
17
+ env_variables :
18
+ COMMIT : dev
19
+ LASTMOD : dev
Original file line number Diff line number Diff line change 1
- /usr/local/google_appengine-go/appcfg.py --oauth2 update .
1
+ #! /bin/bash
2
+
3
+ YAML=./www/app.yaml
4
+ COMMIT=
5
+ yq write --inplace $YAML env_variables.COMMIT $( git rev-parse --short HEAD)
6
+ LASTMOD=$( date -u +%Y-%m-%dT%H:%M:%SZ)
7
+ yq write --inplace $YAML env_variables.LASTMOD $LASTMOD
8
+
9
+ /usr/local/google_appengine/appcfg.py --oauth2 update .
10
+
11
+ #
12
+ # restore committed values
13
+ #
14
+ yq write --inplace $YAML env_variables.COMMIT dev
15
+ yq write --inplace $YAML env_variables.LASTMOD dev
2
16
You can’t perform that action at this time.
0 commit comments