2021-01-16 02:02:44 +01:00
|
|
|
name: Publish testing
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- testing
|
|
|
|
jobs:
|
|
|
|
publish:
|
2021-01-16 14:16:58 +01:00
|
|
|
runs-on: ubuntu-latest
|
2021-01-16 02:02:44 +01:00
|
|
|
steps:
|
2021-01-16 02:10:37 +01:00
|
|
|
- name: -- Step 1 -- Checkout code
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
- name: -- Step 2 -- Setup node
|
|
|
|
uses: actions/setup-node@v2
|
2021-01-16 02:02:44 +01:00
|
|
|
with:
|
|
|
|
node-version: 14.x
|
2021-01-16 02:10:37 +01:00
|
|
|
- name: -- Step 3 -- Use Expo action
|
|
|
|
uses: expo/expo-github-action@v5
|
2021-01-16 02:02:44 +01:00
|
|
|
with:
|
|
|
|
expo-version: 4.x
|
|
|
|
expo-username: ${{ secrets.EXPO_USERNAME }}
|
|
|
|
expo-token: ${{ secrets.EXPO_TOKEN }}
|
2021-01-16 02:10:37 +01:00
|
|
|
- name: -- Step 4 -- Install dependencies
|
|
|
|
run: yarn install
|
|
|
|
- name: -- Step 5 -- Publish
|
2021-01-16 02:02:44 +01:00
|
|
|
env:
|
2021-01-23 03:26:26 +01:00
|
|
|
SENTRY_ORGANIZATION: ${{ secrets.SENTRY_ORGANIZATION }}
|
|
|
|
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
|
|
|
|
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
|
|
|
|
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
|
2021-01-20 00:39:39 +01:00
|
|
|
SENTRY_DEPLOY_ENV: testing
|
2021-01-16 02:10:37 +01:00
|
|
|
run: expo publish --release-channel=testing
|