diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml new file mode 100644 index 00000000..a3d20f6d --- /dev/null +++ b/.github/workflows/testing.yml @@ -0,0 +1,26 @@ +name: Publish testing +on: + push: + branches: + - testing +jobs: + publish: + name: Install and publish + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: + node-version: 14.x + - uses: expo/expo-github-action@v5 + with: + expo-version: 4.x + expo-username: ${{ secrets.EXPO_USERNAME }} + expo-token: ${{ secrets.EXPO_TOKEN }} + expo-cache: true + - run: yarn install + - run: expo publish --release-channel=testing + env: + - SENTRY_ORG: ${{ secrets.SENTRY_ORG }} + - SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }} + - SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} diff --git a/app.config.ts b/app.config.ts index 9acee5b0..fcf5b4bb 100644 --- a/app.config.ts +++ b/app.config.ts @@ -39,11 +39,6 @@ export default (): ExpoConfig => ({ postPublish: [ { file: 'sentry-expo/upload-sourcemaps' - // config: { - // organization: "your sentry organization's short name here", - // project: "your sentry project's name here", - // authToken: 'your auth token here' - // } } ] }, diff --git a/publish.sh b/publish.sh deleted file mode 100755 index 01fa85c6..00000000 --- a/publish.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash - -SENTRY_ORG=xmflsct SENTRY_PROJECT=mastodon-app SENTRY_AUTH_TOKEN=771a5746bad54f5987aa5d5d8b1c10abc751b3bf28554c908d452e0054eb6003 expo publish --release-channel testing \ No newline at end of file