Skip to content

doc(google-maps): fix missing declaration in README.md (#26842) #20

doc(google-maps): fix missing declaration in README.md (#26842)

doc(google-maps): fix missing declaration in README.md (#26842) #20

name: Deploying dev-app to Firebase [main push].
on:
push:
branches: [main]
permissions:
deployments: write
env:
PREVIEW_PROJECT: ng-dev-previews
PREVIEW_SITE: ng-comp-devapp
PREVIEW_CHANNEL: live
jobs:
deploy-material2-dev:
runs-on: ubuntu-latest
steps:
- name: Initialize environment
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@481b4b8fe54c12557ac7d4ad22df0cb08284cdaf
with:
cache-node-modules: true
- name: Setup Bazel
uses: angular/dev-infra/github-actions/bazel/setup@481b4b8fe54c12557ac7d4ad22df0cb08284cdaf
- name: Setup Bazel RBE
uses: angular/dev-infra/github-actions/bazel/configure-remote@481b4b8fe54c12557ac7d4ad22df0cb08284cdaf
- name: Building dev-app
run: |
yarn -s bazel build //src/dev-app:web_package --symlink_prefix=dist/
cp -R dist/bin/src/dev-app/web_package dist/dev-app-web-pkg
- name: Configure Firebase deploy target
run: |
# We can use `npx` as the Firebase deploy actions uses it too.
npx -y firebase-tools@latest target:clear --project ${{env.PREVIEW_PROJECT}} hosting dev-app
npx -y firebase-tools@latest target:apply --project ${{env.PREVIEW_PROJECT}} hosting dev-app ${{env.PREVIEW_SITE}}
- uses: FirebaseExtended/action-hosting-deploy@638d3c162747cead0c1c0d3093208ed59dfd8231 # v0
id: deploy
with:
# Note: No token used here as the action otherwise may attempt to post a comment.
repoToken: ''
firebaseServiceAccount: '${{secrets.FIREBASE_PREVIEW_SERVICE_TOKEN}}'
projectId: '${{env.PREVIEW_PROJECT}}'
entryPoint: './'
channelId: '${{env.PREVIEW_CHANNEL}}'
- name: Result
run: |
echo "Deployed to: ${{steps.deploy.outputs.details_url}}"
- name: Deployment Status
uses: zattoo/deploy-status@c8a0267e54a90ea07765fa88f7c7c35171859eec # v1
with:
token: '${{github.token}}'
environment: 'dev'
environment_url: '${{steps.deploy.outputs.details_url}}'
state: success