-
Notifications
You must be signed in to change notification settings - Fork 6
57 lines (53 loc) · 1.5 KB
/
expo-publish-preprod.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
name: Publish on ExpoGo (PreProd)
# on:
# push:
# branches:
# - 'master'
# paths:
# - 'front/**'
# - '.github/workflows/expo-publish-preprod.yml'
on:
push:
tags:
- v*
workflow_dispatch:
inputs:
tags:
description: "Manual workflow"
concurrency:
group: expo-preproduction
cancel-in-progress: true
jobs:
Publish:
name: Publish PreProd
runs-on: ubuntu-latest
env:
API_URL: https://backoffice-1000jours-preprod.ovh.fabrique.social.gouv.fr
CLEAR_STORAGE: false
MATOMO_APPLICATION_ID: 46
MATOMO_ENABLED: true
MATOMO_URL: https://matomo.fabrique.social.gouv.fr/
SENTRY_DSN: https://[email protected]/62
SENTRY_ENABLED: true
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
GOOGLE_MAPS_API_KEY: ${{ secrets.GOOGLE_MAPS_API_KEY }}
DEEPLINK_DOMAIN: 1000jours.fabrique.social.gouv.fr
DEEPLINK_PATH: app-millejours
NODE_OPTIONS: --max_old_space_size=8192
EPDS_WIDGET_URL: https://nos1000jours-blues-epds-widget.fabrique.social.gouv.fr
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.x
- uses: expo/expo-github-action@v8
with:
eas-version: latest
token: ${{ secrets.EXPO_TOKEN }}
- name: Yarn
env:
YARN_IGNORE_NODE: "1"
run: |
cd front
yarn install
yarn publish-preprod