Skip to content

Commit

Permalink
Add SENTRY env vars to expo-main.yml update step
Browse files Browse the repository at this point in the history
  • Loading branch information
whusterj committed Nov 12, 2024
1 parent adc448e commit f2e894d
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions {{cookiecutter.project_slug}}/.github/workflows/expo-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ jobs:
setup:
runs-on: ubuntu-latest
outputs:
BUILD_MOBILE_APP: {{ "${{ steps.checkdiff.outputs.BUILD_MOBILE_APP }}" }}
BUILD_MOBILE_APP:
{{ "${{ steps.checkdiff.outputs.BUILD_MOBILE_APP }}" }}
steps:
- uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -64,14 +65,14 @@ jobs:

- name: 🚀 Build app
run: cd mobile && eas build --platform all --profile staging --non-interactive
env:
env:
SENTRY_PROJECT_NAME: "<REPLACE_WTIH_SENTRY_PROJECT_NAME>"

- name: 🚀 Publish Staging Preview
run: cd mobile && eas update --branch=staging --non-interactive --auto
env:
# Since expo update replaces code OTA these variables should match the staging variables in eas.json
# Since expo update replaces code OTA these variables should match the staging variables in eas.json
EXPO_PUBLIC_BACKEND_SERVER_URL: ""
EXPO_PUBLIC_ROLLBAR_ACCESS_TOKEN: ""


SENTRY_PROJECT_NAME: ""
SENTRY_DSN: ""

0 comments on commit f2e894d

Please sign in to comment.