You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm building a a workflow where maintainer can select the channel they want the app is published into. For example, live, staging (long-lived preview), and (new preview)
name: Deploy to Firebase Hosting"on":
workflow_dispatch:
inputs:
deployChannel:
description: "Channel which Firebase will deploy into"default: ""type: choiceoptions:
- live
- staging
-
... some actions
- name: Deploy to Firebase Hostinguses: FirebaseExtended/action-hosting-deploy@v0id: firebaseHostwith:
repoToken: "${{ secrets.GITHUB_TOKEN }}"firebaseServiceAccount: "${{ secrets.SOME_SECRETS }}"channelId: ${{ inputs.deployChannel }} # value from the input aboveprojectId: someprojectid
If I understand from the docs, the deploy to a new preview channel, just leave the channelId property empty. I tried to achive that by passing an empty value.
However, on clicking Run workflow. GitHub immediately crashed, seems like it didn't support empty value?
The text was updated successfully, but these errors were encountered:
I'm building a a workflow where maintainer can select the channel they want the app is published into. For example, live, staging (long-lived preview), and (new preview)
name: Deploy to Firebase Hosting"on":
workflow_dispatch:
inputs:
deployChannel:
description: "Channel which Firebase will deploy into"default: ""type: choiceoptions:
- live
- staging
-
... some actions
- name: Deploy to Firebase Hostinguses: FirebaseExtended/action-hosting-deploy@v0id: firebaseHostwith:
repoToken: "${{ secrets.GITHUB_TOKEN }}"firebaseServiceAccount: "${{ secrets.SOME_SECRETS }}"channelId: ${{ inputs.deployChannel }} # value from the input aboveprojectId: someprojectid
If I understand from the docs, the deploy to a new preview channel, just leave the channelId property empty. I tried to achive that by passing an empty value.
However, on clicking Run workflow. GitHub immediately crashed, seems like it didn't support empty value?
The use case you're trying to solve
I'm building a a workflow where maintainer can select the channel they want the app is published into. For example,
live
,staging
(long-lived preview), and
(new preview)If I understand from the docs, the deploy to a new preview channel, just leave the
channelId
property empty. I tried to achive that by passing an empty value.However, on clicking Run workflow. GitHub immediately crashed, seems like it didn't support empty value?
The text was updated successfully, but these errors were encountered: