小编ppt*_*ppt的帖子

Firebase action-hosting-deploy 因 RequestError 失败(资源无法通过集成访问)

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)

firebase firebase-hosting github-actions

39
推荐指数
2
解决办法
4476
查看次数

如何反转“String.fromCodePoint”,即将字符串转换为代码点数组?

String.fromCodePoint(...[127482, 127480])给了我一面美国国旗 ()。

如何将标志变回[127482, 127480]

javascript string codepoint unicode-string

1
推荐指数
1
解决办法
962
查看次数