diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 9b59e9fa..8915aaf5 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,11 +1,20 @@ # .github/workflows/deploy.yml -name: deploy-dev +name: Deploy Web - Production on: push: branches: - production - # - production/next workflow_dispatch: + inputs: + release: + description: 'release type' + required: true + default: 'production' + targetbranch: + description: 'target deployment branch' + required: true + default: 'production' + env: VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }} diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index e3442604..58ae35ca 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -4,7 +4,6 @@ on: push: branches: - master - # develop/staging pull_request: branches: - master diff --git a/packages/app/__tests__/App-test.tsx b/packages/app/__tests__/App-test.tsx index 17847669..4edaa0a8 100644 --- a/packages/app/__tests__/App-test.tsx +++ b/packages/app/__tests__/App-test.tsx @@ -4,7 +4,7 @@ import 'react-native'; import React from 'react'; -import App from '../App'; +import App from '../src/App'; // Note: test renderer must be required after react-native. import renderer from 'react-test-renderer'; diff --git a/vercel.json b/packages/app/vercel.json similarity index 100% rename from vercel.json rename to packages/app/vercel.json