Skip to content

Commit

Permalink
Merge pull request #1799 from airqo-platform/maintanence
Browse files Browse the repository at this point in the history
App.yaml file for dev,staging and production for maintenance page
  • Loading branch information
Baalmart authored Jan 12, 2024
2 parents c00dbdc + 56caad9 commit f5384a2
Show file tree
Hide file tree
Showing 7 changed files with 52 additions and 0 deletions.
19 changes: 19 additions & 0 deletions Maintenance/.gcloudignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# This file specifies files that are *not* uploaded to Google Cloud
# using gcloud. It follows the same syntax as .gitignore, with the addition of
# "#!include" directives (which insert the entries of the given .gitignore-style
# file at that point).
#
# For more information, run:
# $ gcloud topic gcloudignore
#
.gcloudignore
# If you would like to upload your .git directory, .gitignore file or files
# from your .gitignore file, remove the corresponding line
# below:
.git
.gitignore

# Python pycache:
__pycache__/
# Ignored by the build system
/setup.cfg
11 changes: 11 additions & 0 deletions Maintenance/app.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
runtime: python38
service: website-pr-previews

handlers:
- url: /
static_files: www/index.html
upload: www/index.html

- url: /(.*)
static_files: www/\1
upload: www/(.*)
11 changes: 11 additions & 0 deletions Maintenance/default-app.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
runtime: python38
service: default

handlers:
- url: /
static_files: www/index.html
upload: www/index.html

- url: /(.*)
static_files: www/\1
upload: www/(.*)
11 changes: 11 additions & 0 deletions Maintenance/staging-app.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
runtime: python38
service: staging

handlers:
- url: /
static_files: www/index.html
upload: www/index.html

- url: /(.*)
static_files: www/\1
upload: www/(.*)
File renamed without changes
File renamed without changes
File renamed without changes.

0 comments on commit f5384a2

Please sign in to comment.