resources to deploy to stores
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import firebase_admin | |
from firebase_admin import auth | |
from firebase_admin import db | |
import json | |
# Initialize the app without credentials, as the function gets it from context | |
firebase_admin.initialize_app() | |
def hello_world(request): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as functions from "firebase-functions"; | |
import { Request, Response } from "firebase-functions"; | |
import * as cors from 'cors'; | |
const corsHandler = cors({origin: true}); | |
// Start writing Firebase Functions | |
// https://firebase.google.com/docs/functions/typescript | |
export const helloWorld = functions.https.onRequest((request: Request, response: Response) => { | |
corsHandler(request, response, () => { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Component, ViewEncapsulation } from '@angular/core'; | |
import { SwUpdate } from '@angular/service-worker'; | |
import { merge, Observable, of, Subject } from 'rxjs'; | |
import { map } from 'rxjs/operators'; | |
import { ToastOptions } from '@ionic/core'; | |
import { ToastController } from '@ionic/angular'; | |
import { environment } from 'src/environments/environment'; | |
@Component({ | |
selector: 'app-updates-notification', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy Github Page | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: |
OlderNewer