generated from nventive/Template
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
832aac5
commit 196940b
Showing
8 changed files
with
114 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
parameters: | ||
- name: pathToSrc | ||
type: string | ||
- name: firebaseJsonFile | ||
type: string | ||
- name: firebaseOptionsDartFile | ||
type: string | ||
- name: googleServicesJsonFile | ||
type: string | ||
|
||
steps: | ||
- task: DownloadSecureFile@1 | ||
name: firebaseJson | ||
displayName: "Download Keystore from Secure Files" | ||
inputs: | ||
secureFile: ${{ parameters.firebaseJsonFile }} | ||
|
||
- task: DownloadSecureFile@1 | ||
name: firebaseOptionsDart | ||
displayName: "Download Keystore from Secure Files" | ||
inputs: | ||
secureFile: ${{ parameters.firebaseOptionsDartFile }} | ||
|
||
- task: DownloadSecureFile@1 | ||
name: googleServicesJson | ||
displayName: "Download Keystore from Secure Files" | ||
inputs: | ||
secureFile: ${{ parameters.googleServicesJsonFile }} | ||
|
||
- task: PowerShell@2 | ||
displayName: Copy firebase Configuration Files | ||
inputs: | ||
targetType: 'inline' | ||
script: | | ||
Copy-Item -Path '$(firebaseJson.secureFilePath)' -Destination '${{ parameters.pathToSrc }}\app\firebase.json' | ||
Write-Host 'Firebase.json copied to ${{ parameters.pathToSrc }}/app/firebase.json' | ||
Copy-Item -Path '$(firebaseOptionsDart.secureFilePath)' -Destination '${{ parameters.pathToSrc }}\app\lib\firebase_options.dart' | ||
Write-Host 'FirebaseOptions.Dart copied to ${{ parameters.pathToSrc }}/app/lib/firebase_options.dart' | ||
Copy-Item -Path '$(googleServicesJson.secureFilePath)' -Destination '${{ parameters.pathToSrc }}\app\android\app\google-services.json' | ||
Write-Host 'GoogleServices.json copied to ${{ parameters.pathToSrc }}\app\android\app\google-services.json' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters