Firebase action-hosting-deploy 因 RequestError 失败(资源无法通过集成访问)
我正在尝试按照https://firebase.google.com/docs/hosting/github-integration开始自动推送我的代码以由 Firebase 托管。
我最终得到了一个 Github Actions .yml 文件,如下所示:
# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools
name: Deploy to Firebase Hosting on PR
'on': pull_request
jobs:
build_and_preview:
if: '${{ github.event.pull_request.head.repo.full_name == github.repository }}'
runs-on: ubuntu-latest
environment: development
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18'
- run: |
cd front
echo "$ENV_DEVELOPMENT" > .env.development
PWD=$(pwd)
npm install
sh -ac ". $PWD/.env.development; npm run build"
env:
ENV_DEVELOPMENT: ${{ secrets.ENV_DEVELOPMENT …Run Code Online (Sandbox Code Playgroud) String.fromCodePoint(...[127482, 127480])给了我一面美国国旗 ()。
如何将标志变回[127482, 127480]?