{"id":16252882,"url":"https://github.com/oliverbenns/expo-deploy","last_synced_at":"2025-03-19T20:31:37.631Z","repository":{"id":86910721,"uuid":"98986927","full_name":"oliverbenns/expo-deploy","owner":"oliverbenns","description":"Bash script to deploy to different Expo environments (https://expo.io)","archived":false,"fork":false,"pushed_at":"2018-03-29T10:01:54.000Z","size":6,"stargazers_count":40,"open_issues_count":1,"forks_count":12,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-02-28T21:02:46.762Z","etag":null,"topics":["bash","create-react-native-app","exp","expo","exponent","react-native"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oliverbenns.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-08-01T09:58:00.000Z","updated_at":"2021-05-09T02:14:12.000Z","dependencies_parsed_at":"2023-05-29T19:15:11.578Z","dependency_job_id":null,"html_url":"https://github.com/oliverbenns/expo-deploy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oliverbenns%2Fexpo-deploy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oliverbenns%2Fexpo-deploy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oliverbenns%2Fexpo-deploy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oliverbenns%2Fexpo-deploy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oliverbenns","download_url":"https://codeload.github.com/oliverbenns/expo-deploy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244019194,"owners_count":20384711,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash","create-react-native-app","exp","expo","exponent","react-native"],"created_at":"2024-10-10T15:15:11.506Z","updated_at":"2025-03-19T20:31:37.621Z","avatar_url":"https://github.com/oliverbenns.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"#### ⚠️ Update\nExpo now supports [Release Channels](https://docs.expo.io/versions/latest/guides/release-channels.html)! This script was created before that feature existed. You probably want to use them instead.\n\n# Expo Deploy\n\nBash script to deploy to different [Expo](https://expo.io) environments.\n\nIt switches the relevant json file to be `app.json` before running the correct commands.\n\n## Setup\n\n  - `npm install exp -g`\n  - Place the deploy script in your root directory\n  - Add the relevant config files as shown in this example repository\n  - Add `/app.json` to your `.gitignore`.\n\n## Usage\n\n  - **Publish:** `./deploy publish [environment]`\n  - **Build:** `./deploy build [environment]` (builds both IPA + APK files)\n  - **Development:** You'll want to copy the correct app file manually. E.g: `cp ./config/staging.json ./app.json \u0026\u0026 react-native-scripts start`. I haven't thought of a better way to do this yet.\n\n### Local Exp\n\nIt's also possible to have [exp](https://github.com/expo/exp) installed locally. To do this:\n\n  - `npm install exp --save-dev`\n  - In your `package.json`, call the shell script through npm scripts. This is how I do it:\n    - ```\n        \"publish\": \"chmod +x ./deploy.sh \u0026\u0026 ./deploy.sh publish $ENVIRONMENT\",\n        \"build\": \"chmod +x ./deploy.sh \u0026\u0026 ./deploy.sh build $ENVIRONMENT\"\n      ```\n    - Run with`ENVIRONMENT=staging npm run publish` or `ENVIRONMENT=staging npm run build`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foliverbenns%2Fexpo-deploy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foliverbenns%2Fexpo-deploy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foliverbenns%2Fexpo-deploy/lists"}