Skip to content

revert sitemap

revert sitemap #691

# Copyright 2021 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools
name: Firebase Hosting Preview
on:
pull_request:
paths:
- 'app/**'
jobs:
build_and_preview:
if: ${{ github.event.pull_request.head.repo.full_name == github.repository }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: |
(cd shared && npm install)
(export NODE_OPTIONS=--openssl-legacy-provider && cd app && npm install && npm run build:staging)
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_UGC_SITE_DEV }}'
expires: 3d
projectId: ugc-site-dev
env:
FIREBASE_CLI_PREVIEWS: hostingchannels