Skip to content

Commit

Permalink
firebase-app-distribution config changed.
Browse files Browse the repository at this point in the history
  • Loading branch information
kyawhtut-cu committed Jul 7, 2023
1 parent 8ae0565 commit 8218b5e
Show file tree
Hide file tree
Showing 14 changed files with 21 additions and 19 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/debug-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ jobs:
- name: Check Out Branch
uses: actions/[email protected]

- run: touch local.properties
- run: echo $APP_CONFIG_FILE_BASE64 | base64 --decode > local.properties
- run: touch config.properties
- run: echo $APP_CONFIG_FILE_BASE64 | base64 --decode > config.properties
- run: touch debug-keystore.jks
- run: echo $DEBUG_KEYSTORE_BASE64 | base64 --decode > debug-keystore.jks
- run: touch tv/google-services.json
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/home-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ jobs:
- name: Check Out Branch
uses: actions/[email protected]

- run: touch local.properties
- run: echo $APP_CONFIG_FILE_BASE64 | base64 --decode > local.properties
- run: touch config.properties
- run: echo $APP_CONFIG_FILE_BASE64 | base64 --decode > config.properties
- run: touch release-keystore.jks
- run: echo $RELEASE_KEYSTORE_BASE64 | base64 --decode > release-keystore.jks
- run: touch tv/google-services.json
Expand All @@ -45,7 +45,7 @@ jobs:
uses: wzieba/Firebase-Distribution-Github-Action@v1
with:
appId: ${{ secrets.FIREBASE_HOME_APP_ID }}
token: ${{ secrets.FIREBASE_TOKEN }}
serviceCredentialsFileContent: ${{ secrets.CREDENTIAL_FILE_CONTENT }}
groups: home
releaseNotesFile: RELEASE_NOTE.txt
file: tv/build/outputs/apk/release/${{ env.RELEASE_VERSION }}/atsy-cast-home.apk
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ jobs:
- name: Check Out Branch
uses: actions/[email protected]

- run: touch local.properties
- run: echo $APP_CONFIG_FILE_BASE64 | base64 --decode > local.properties
- run: touch config.properties
- run: echo $APP_CONFIG_FILE_BASE64 | base64 --decode > config.properties
- run: touch release-keystore.jks
- run: echo $RELEASE_KEYSTORE_BASE64 | base64 --decode > release-keystore.jks
- run: touch tv/google-services.json
Expand All @@ -45,7 +45,7 @@ jobs:
uses: wzieba/Firebase-Distribution-Github-Action@v1
with:
appId: ${{ secrets.FIREBASE_RELEASE_APP_ID }}
token: ${{ secrets.FIREBASE_TOKEN }}
serviceCredentialsFileContent: ${{ secrets.CREDENTIAL_FILE_CONTENT }}
groups: release
releaseNotesFile: RELEASE_NOTE.txt
file: tv/build/outputs/apk/release/${{ env.RELEASE_VERSION }}/atsy-cast.apk
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,5 @@ git-push.gradle
utils.txt
debug-keystore.jks
release-keystore.jks
config.properties
firebase-app-distribution.json
2 changes: 1 addition & 1 deletion 2d/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ plugins {
}

val releaseProperties = Properties()
releaseProperties.load(file("${rootDir}/local.properties").inputStream())
releaseProperties.load(file("${rootDir}/config.properties").inputStream())
val BASE_URL: String = releaseProperties.getProperty("2D_BASE_URL", "")
val USER_NAME: String = releaseProperties.getProperty("2D_USER_NAME", "")
val PASSOWRD: String = releaseProperties.getProperty("2D_PASSWORD", "")
Expand Down
2 changes: 1 addition & 1 deletion doujin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ plugins {
}

val releaseProperties = Properties()
releaseProperties.load(file("${rootDir}/local.properties").inputStream())
releaseProperties.load(file("${rootDir}/config.properties").inputStream())
val BASE_URL: String = releaseProperties.getProperty("DOUJIN_BASE_URL", "")
val MEDIA_BASE_URL: String = releaseProperties.getProperty("DOUJIN_MEDIA_BASE_URL", "")

Expand Down
2 changes: 1 addition & 1 deletion eporner/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ plugins {
}

val releaseProperties = Properties()
releaseProperties.load(file("${rootDir}/local.properties").inputStream())
releaseProperties.load(file("${rootDir}/config.properties").inputStream())
val BASE_URL: String = releaseProperties.getProperty("EPORNER_BASE_URL", "")
val EPORNER_KEY: String = releaseProperties.getProperty("EPORNER_KEY", "")

Expand Down
4 changes: 2 additions & 2 deletions ets2mm/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import java.util.*
import java.util.Properties

plugins {
androidGitVersion()
Expand All @@ -10,7 +10,7 @@ plugins {
}

val releaseProperties = Properties()
releaseProperties.load(file("${rootDir}/local.properties").inputStream())
releaseProperties.load(file("${rootDir}/config.properties").inputStream())
val BASE_URL: String = releaseProperties.getProperty("ETS_2_MYANMAR", "")

android {
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
path = `/${path.join('/')}`;
}
$.ajax({
url: `https://cdn.kyawhtut.com/filePath.php?path=${path}`,
url: `https://cdn.kyawhtut.com/v1.php?route=filePath&path=${path}`,
method: 'get',
beforeSend: function() {
$('#fileList').empty();
Expand Down
2 changes: 1 addition & 1 deletion msubpc/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ plugins {
}

val releaseProperties = Properties()
releaseProperties.load(file("${rootDir}/local.properties").inputStream())
releaseProperties.load(file("${rootDir}/config.properties").inputStream())
val BASE_URL: String = releaseProperties.getProperty("MSUB_PC_BASE_URL", "")
val ENCRYPT_KEY: String = releaseProperties.getProperty("MSUB_PC_ENCRYPT_KEY", "")

Expand Down
2 changes: 1 addition & 1 deletion msys/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ plugins {
}

val releaseProperties = Properties()
releaseProperties.load(file("${rootDir}/local.properties").inputStream())
releaseProperties.load(file("${rootDir}/config.properties").inputStream())
val BASE_URL: String = releaseProperties.getProperty("MSYS_BASE_URL", "")

android {
Expand Down
2 changes: 1 addition & 1 deletion share/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ plugins {
}

val releaseProperties = Properties()
releaseProperties.load(file("${rootDir}/local.properties").inputStream())
releaseProperties.load(file("${rootDir}/config.properties").inputStream())
val SHEET_BASE_URL: String = releaseProperties.getProperty("SHEET_BASE_URL", "")
val RELEASE_SCRIPT_ID: String = releaseProperties.getProperty("RELEASE_SCRIPT_ID", "")
val DEBUG_SCRIPT_ID: String = releaseProperties.getProperty("DEBUG_SCRIPT_ID", "")
Expand Down
2 changes: 1 addition & 1 deletion tv/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ val apkName = hashMapOf(
)

val releaseProperties = Properties()
releaseProperties.load(file("${rootDir}/local.properties").inputStream())
releaseProperties.load(file("${rootDir}/config.properties").inputStream())
val DEBUG_ALIAS: String = releaseProperties.getProperty("DEBUG_ALIAS", "")
val DEBUG_ALIAS_PASSWORD: String = releaseProperties.getProperty("DEBUG_ALIAS_PASSWORD", "")
val DEBUG_KEYSTORE_PASSWORD: String = releaseProperties.getProperty("DEBUG_KEYSTORE_PASSWORD", "")
Expand Down
2 changes: 1 addition & 1 deletion zcm/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ plugins {
}

val releaseProperties = Properties()
releaseProperties.load(file("${rootDir}/local.properties").inputStream())
releaseProperties.load(file("${rootDir}/config.properties").inputStream())
val ZCM_BASE_URL: String = releaseProperties.getProperty("ZCM_BASE_URL", "")

android {
Expand Down

0 comments on commit 8218b5e

Please sign in to comment.