Coder Social home page Coder Social logo

Comments (5)

sampi avatar sampi commented on May 20, 2024 11

my workaround was to manually specify the channelId, loosely based on the current code: https://github.com/FirebaseExtended/action-hosting-deploy/blob/main/bin/action.min.js#L11267

- name: Deploy to Firebase (preview)
  uses: FirebaseExtended/action-hosting-deploy@v0
  with:
    repoToken: '${{ secrets.GITHUB_TOKEN }}'
    firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT }}'
    expires: 3d
    projectId: my-project-id
    channelId: 'pr-${{ github.event.number }}-${{ github.event.pull_request.head.ref }}'

I get a warning about unsupported characters (/), but the script replaces them with _ so it should be good as a temporary workaround.

from action-hosting-deploy.

pkanshu avatar pkanshu commented on May 20, 2024 3

Any constant channel ID can be provided in channelId key, e.g. preview. It need not be unique as Firebase appends a random hash to the channel ID while generating preview URL (Documentation link)

from action-hosting-deploy.

xtealer avatar xtealer commented on May 20, 2024 1

I use instead https://github.com/w9jds/firebase-action that covers similar functionality and has simpler usage.

from action-hosting-deploy.

othondev avatar othondev commented on May 20, 2024

is there workaround?

from action-hosting-deploy.

afroguy16 avatar afroguy16 commented on May 20, 2024

None of these 'solutions' work.

from action-hosting-deploy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.