Skip to content

Commit

Permalink
Add git as safe directory
Browse files Browse the repository at this point in the history
  • Loading branch information
klalumiere committed Jun 16, 2024
1 parent b22a70b commit ace9002
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
name: Deploy
on: push
on:
push: {}

jobs:
deploy:
name: Deploy
defaults:
run:
shell: bash
runs-on: ubuntu-latest
container:
image: cimg/android:2024.04.1
Expand Down Expand Up @@ -54,6 +56,7 @@ jobs:
echo ${{ secrets.GOOGLE_PLAY_SERVICE_ACCOUNT_JSON }} > "$GOOGLE_PLAY_SERVICE_ACCOUNT_JSON_PATH.base64"
base64 --decode "$GOOGLE_PLAY_SERVICE_ACCOUNT_JSON_PATH.base64" > "$GOOGLE_PLAY_SERVICE_ACCOUNT_JSON_PATH"
rm -f "$GOOGLE_PLAY_SERVICE_ACCOUNT_JSON_PATH.base64"
git config --global --add safe.directory "$PWD"
./release_to_google_play.py
rm -f "$GOOGLE_PLAY_SERVICE_ACCOUNT_JSON_PATH"
- name: Ensure deploy keys are erased
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: Test
on:
push:
branches-ignore: master
branches-ignore:
- master

jobs:
test:
Expand Down

0 comments on commit ace9002

Please sign in to comment.