Skip to content

build: 타겟 브랜치 변경 #2

build: 타겟 브랜치 변경

build: 타겟 브랜치 변경 #2

Workflow file for this run

name: build expo and & release testflight
on:
push:
branches: [ release, build/ci-cd ]
jobs:
update:
name: EAS Update
runs-on: ubuntu-latest
steps:
- name: checkout repository
uses: actions/checkout@v3
- name: create bookbla-2024-firebase-adminsdk.json
uses: jsdaniell/create-json@1.1.2
with:
name: "bookbla-2024-firebase-adminsdk-qfspu-1dcca92597.json"
json: ${{ secrets.FIREBASE_JSON }}
- name: create app.json
uses: jsdaniell/create-json@1.1.2
with:
name: "app.json"
json: ${{ secrets.APP_JSON }}
- name: create google-services.json
uses: jsdaniell/create-json@1.1.2
with:
name: "google-services.json"
json: ${{ secrets.GOOGLE_SERVICES_JSON }}
- name: create eas.json
uses: jsdaniell/create-json@1.1.2
with:
name: "eas.json"
json: ${{ secrets.EAS_JSON }}
- name: setup Node
uses: actions/setup-node@v3
with:
node-version: 18.x
cache: npm
cache-dependency-path: ./package-lock.json
- name: setup EAS
uses: expo/expo-github-action@v8
with:
eas-version: latest
token: ${{ secrets.EXPO_TOKEN }}
- name: install dependencies
run: npm install
- name: Set secret as environment variable
run: echo "SECRET_VALUE=my_secret_value" >> $MASKING_SECRET
- name: masking data
run: |
SECRET=secrets.MASKING_SECRET
echo "::add-mask::$SECRET"
- name: reflect testflight
run: |
SECRET=secrets.MASKING_SECRET
echo "::add-mask::$SECRET"
eas submit -p ios --latest --profile local --non-interactive