tooot/.github/workflows/production.yml

34 lines
1.0 KiB
YAML
Raw Normal View History

2021-01-20 00:39:39 +01:00
name: Publish production
on:
push:
branches:
2021-02-27 16:33:54 +01:00
- main
2021-01-20 00:39:39 +01:00
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: -- Step 1 -- Checkout code
uses: actions/checkout@v2
2021-02-11 01:49:32 +01:00
with:
submodules: true
2021-01-20 00:39:39 +01:00
- name: -- Step 2 -- Setup node
uses: actions/setup-node@v2
with:
node-version: 14.x
- name: -- Step 3 -- Use Expo action
uses: expo/expo-github-action@v5
with:
expo-version: 4.x
expo-username: ${{ secrets.EXPO_USERNAME }}
expo-token: ${{ secrets.EXPO_TOKEN }}
- name: -- Step 4 -- Install dependencies
run: yarn install
- name: -- Step 5 -- Publish
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: production
2021-01-26 12:54:39 +01:00
run: expo publish --release-channel=${GITHUB_REF#refs/heads/}