Skip to content

Update devices

Update devices #77

name: Update devices
on:
workflow_dispatch:
inputs:
org:
description: 'App organization to update devices for'
required: true
type: choice
options:
- atb
- fram
- nfk
- troms
jobs:
update-devices-development:
name: development
runs-on: ubuntu-latest
environment: ${{ inputs.org }}
steps:
- name: Checkout project
uses: actions/checkout@v3
- name: development
uses: ./.github/actions/update-devices
with:
app-environment: development
app-org: ${{ inputs.org }}
git-crypt-key: ${{ secrets.GIT_CRYPT_KEY }}
app-store-connect-api-key: ${{ secrets.APP_STORE_CONNECT_API_KEY }}
match-deploy-key: ${{ secrets.MATCH_DEPLOY_KEY }}
update-devices-adhoc:
name: adhoc
needs: update-devices-development
runs-on: ubuntu-latest
environment: ${{ inputs.org }}
steps:
- name: Checkout project
uses: actions/checkout@v3
- name: adhoc
uses: ./.github/actions/update-devices
with:
app-environment: adhoc
app-org: ${{ inputs.org }}
git-crypt-key: ${{ secrets.GIT_CRYPT_KEY }}
app-store-connect-api-key: ${{ secrets.APP_STORE_CONNECT_API_KEY }}
match-deploy-key: ${{ secrets.MATCH_DEPLOY_KEY }}