Skip to content

Commit

Permalink
fix: replace dummy values with proper secret substitution in sed
Browse files Browse the repository at this point in the history
  • Loading branch information
charliemangano committed Nov 10, 2024
1 parent 080e4d7 commit 84923eb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/AndroidBuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ jobs:
POWERSYNC_URL: ${{ secrets.POWERSYNC_URL }}
TEST: "TEST_CI_VALUE"
run: |
sed -e "s|SAFE_DEFAULT_VALUE_SUPABASE_KEY|$(echo supabase_key)|g;" \
-e "s|SAFE_DEFAULT_VALUE_SERVICE_KEY|$(echo SERVICE_KEY)|g;" \
-e "s|SAFE_DEFAULT_VALUE_SUPABASE_URL|$(echo SUPABASE_URL)|g;" \
-e "s|SAFE_DEFAULT_VALUE_POWERSYNC_URL|$(echo POWERSYNC_URL)|g;" \
-e "s|TEST_DEFAULT_VALUE|$(echo TEST)|g;" secrets.defaults.properties > secrets.properties
sed -e "s|SAFE_DEFAULT_VALUE_SERVICE_KEY|$SERVICE_KEY|g;" \
-e "s|SAFE_DEFAULT_VALUE_SUPABASE_KEY|$SUPABASE_KEY|g;" \
-e "s|SAFE_DEFAULT_VALUE_SUPABASE_URL|$SUPABASE_URL|g;" \
-e "s|SAFE_DEFAULT_VALUE_POWERSYNC_URL|$POWERSYNC_URL|g;" \
-e "s|TEST_DEFAULT_VALUE|$TEST|g;" secrets.defaults.properties > secrets.properties
- name: Build with Gradle
Expand Down

0 comments on commit 84923eb

Please sign in to comment.