Release the app #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release the app | |
on: | |
workflow_dispatch: | |
inputs: | |
platform: | |
default: 'Both' | |
description: 'Select the platforms to build' | |
options: | |
- 'Both' | |
- 'Android' | |
- 'iOS' | |
required: true | |
type: choice | |
branch: | |
default: 'main' | |
description: 'What branch or tag to build?' | |
required: true | |
type: string | |
environment: | |
default: 'QA' | |
description: 'Select the environment of the build' | |
options: | |
- 'Production' | |
- 'QA' | |
- 'UAT' | |
required: true | |
type: choice | |
jobs: | |
TestJob: | |
name: deploy to staging | |
runs-on: ubuntu-18.04 | |
steps: | |
- name: Setup Node | |
uses: actions/setup-node@v1 | |
with: | |
node-version: '10.x' |