Comments (5)
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.
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.
I use instead https://github.com/w9jds/firebase-action
that covers similar functionality and has simpler usage.
from action-hosting-deploy.
is there workaround?
from action-hosting-deploy.
None of these 'solutions' work.
from action-hosting-deploy.
Related Issues (20)
- Allowing comment for actions on a private repository within an org, invoked by a PR from a fork. HOT 2
- Deploy with GitHub deployments instead of commenting on PR
- [BUG] Cannot Deploy Angular App To Firebase Hosting HOT 2
- how to add a custom domain to long live channelid other than live? HOT 1
- [BUG] Build fails with 'Flutter CLI not found' HOT 1
- [BUG] Unexpected token λ in JSON at position 0
- [BUG] GitHub comment not appearing HOT 2
- [BUG] Github action does not find my project HOT 3
- [BUG] HOT 4
- [BUG] [vite-plugin-pwa:build] Cannot read properties of null (reading 'tagName') HOT 1
- Why not have a single deploy action?
- [BUG] HOT 2
- [BUG] [HttpError]: Resource not accessible by integration HOT 4
- [BUG] stream-json parse error
- [BUG] firebase-tools@13 (latest) now requires Node 18 or Node 20 HOT 4
- Are github environments relevant for making a preview channel deploys?
- [BUG] Cannot find module 'vite'
- Preview build fails with yarn
- Add a way to use different filename for firebase.json
- QUESTION: How to enable PR preview for forked PRs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from action-hosting-deploy.