Skip to content

Commit

Permalink
fix: The web path was insufficient, so it was corrected.
Browse files Browse the repository at this point in the history
  • Loading branch information
mathrunet committed Apr 7, 2023
1 parent e9d89ab commit 804d11f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/katana_cli/lib/action/git/platform/web.dart
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,9 @@ jobs:
projectId.isEmpty) {
return source;
}
final workingPath = Directory.current.path
.replaceAll(directory.replaceAll(".github/workflows", ""), "")
.trimString("/");
source += """
# A copy of the generated file.
Expand All @@ -206,7 +209,7 @@ jobs:
- name: Deploy to Firebase Hosting
uses: FirebaseExtended/action-hosting-deploy@v0
with:
entryPoint: firebase
entryPoint: ${workingPath.isEmpty ? "firebase" : "$workingPath/firebase"}
repoToken: $repoToken
firebaseServiceAccount: $firebaseServiceAccount
channelId: live
Expand Down

0 comments on commit 804d11f

Please sign in to comment.