Skip to content

Commit

Permalink
build script
Browse files Browse the repository at this point in the history
  • Loading branch information
nullhandler committed Apr 10, 2024
1 parent da09a4a commit 6233e21
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,4 @@ app.*.map.json
# Release files
/android/key.properties
/android/app/keystore.jks
/.env
1 change: 1 addition & 0 deletions env_example
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
AUTH_TOKEN=
11 changes: 11 additions & 0 deletions release_to_ps.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
source .env
curl -H "Content-Type: application/json" \
-H "x-auth-token: $AUTH_TOKEN" \
--data '{
"appId": "6596e604a2370360888389ed",
"workflowId": "6596e604a2370360888389ec",
"branch": "main"
}' \
https://api.codemagic.io/builds

echo -e "\nBuild started..."

0 comments on commit 6233e21

Please sign in to comment.