Skip to content

Commit

Permalink
Update apple app store deploy
Browse files Browse the repository at this point in the history
Signed-off-by: Steve Cassidy <[email protected]>
  • Loading branch information
stevecassidy committed Dec 3, 2023
1 parent db5fcd7 commit 5865b3f
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 23 deletions.
37 changes: 17 additions & 20 deletions .github/workflows/appstore-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,36 +49,33 @@ jobs:
- run: |
bundle install # to get cocoapods...
bundle exec fastlane install_plugins
- name: Use Node.js 16
- name: Use Node.js 20
uses: actions/setup-node@v3
with:
node-version: 20
cache: 'npm'
- name: Building webapp
run: |
export platform="github-actions-play"
export serverprefix="demo"
export REACT_APP_CLUSTER_ADMIN_GROUP_NAME=cluster-admin
export REACT_APP_COMMIT_VERSION=$(bin/getDescribeString.sh gh-play)
export REACT_APP_DEBUG_APP=false
export REACT_APP_DEBUG_POUCHDB=false
export REACT_APP_USE_HTTPS=true
export REACT_APP_SHOW_WIPE=true
export REACT_APP_SHOW_NEW_NOTEBOOK=false
export REACT_APP_SHOW_MINIFAUXTON=true
export REACT_APP_DIRECTORY_HOST=db.fieldmark.app
export REACT_APP_DIRECTORY_PORT=443
export REACT_APP_PRODUCTION_BUILD=true
export REACT_APP_SERVICES=FAIMSTEXT
export REACT_APP_TAG=AppStore
export REACT_APP_PROD_BUILD=true
export platform="github-actions-appstore"

Check warning on line 59 in .github/workflows/appstore-deploy.yml

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (appstore)
export serverprefix="fieldmark"
export VITE_CLUSTER_ADMIN_GROUP_NAME=cluster-admin
export VITE_COMMIT_VERSION=$(bin/getDescribeString.sh android)
export VITE_SHOW_WIPE=true
export VITE_SHOW_MINIFAUXTON=false
export VITE_DIRECTORY_HOST=db.fieldmark.app
export VITE_DIRECTORY_PORT=443
export VITE_PRODUCTION_BUILD=true
export VITE_SERVICES=FAIMSTEXT
export VITE_PROD_BUILD=true
export VITE_TAG=prodAndroid
export VITE_BUGSNAG_KEY=${{secrets.BUGSNAG_KEY}}
git clean -xfd
npm ci
npm run build
# env:
# REACT_APP_LOGIN_TOKEN: '{"token": "${{ secrets.JWT_TEST_TOKEN }}", "pubkey": "${{ secrets.JWT_SERVER_FLATTENED_PUBKEY }}", "pubalg": "RS256"}'
# VITE_LOGIN_TOKEN: '{"token": "${{ secrets.JWT_TEST_TOKEN }}", "pubkey": "${{ secrets.JWT_SERVER_FLATTENED_PUBKEY }}", "pubalg": "RS256"}'

# export REACT_APP_LOGIN_TOKEN="${{ secrets.JWT_TEST_TOKEN }}"
# export VITE_LOGIN_TOKEN="${{ secrets.JWT_TEST_TOKEN }}"
# https://capacitorjs.com/docs/android
- run: npx cap update ios
- run: npx cap sync --deployment ios
Expand All @@ -92,7 +89,7 @@ jobs:
bundle-install-path: '$HOME/vendor/bundle'
verbose: false
env:
REACT_APP_LOGIN_TOKEN: "${{ secrets.JWT_TEST_TOKEN }}"
VITE_LOGIN_TOKEN: "${{ secrets.JWT_TEST_TOKEN }}"
APP_STORE_CONNECT_TEAM_ID: '${{ secrets.APP_STORE_CONNECT_TEAM_ID }}'
DEVELOPER_APP_ID: '${{ secrets.DEVELOPER_APP_ID }}'
DEVELOPER_APP_IDENTIFIER: '${{ secrets.DEVELOPER_APP_IDENTIFIER }}'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/human-app-build.yml.disabled
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ jobs:
npm ci
npm run build
# env:
# REACT_APP_LOGIN_TOKEN: '{"token": "${{ secrets.JWT_TEST_TOKEN }}", "pubkey": "${{ secrets.JWT_SERVER_FLATTENED_PUBKEY }}", "pubalg": "RS256"}'
# VITE_LOGIN_TOKEN: '{"token": "${{ secrets.JWT_TEST_TOKEN }}", "pubkey": "${{ secrets.JWT_SERVER_FLATTENED_PUBKEY }}", "pubalg": "RS256"}'

# export REACT_APP_LOGIN_TOKEN="${{ secrets.JWT_TEST_TOKEN }}"
# export VITE_LOGIN_TOKEN="${{ secrets.JWT_TEST_TOKEN }}"
# https://capacitorjs.com/docs/android
- run: npx cap update ios
- run: npx cap sync --deployment ios
Expand All @@ -96,7 +96,7 @@ jobs:
bundle-install-path: '$HOME/vendor/bundle'
verbose: false
env:
REACT_APP_LOGIN_TOKEN: "${{ secrets.JWT_TEST_TOKEN }}"
VITE_LOGIN_TOKEN: "${{ secrets.JWT_TEST_TOKEN }}"
APP_STORE_CONNECT_TEAM_ID: '${{ secrets.APP_STORE_CONNECT_TEAM_ID }}'
DEVELOPER_APP_ID: '${{ secrets.DEVELOPER_APP_ID }}'
DEVELOPER_APP_IDENTIFIER: '${{ secrets.DEVELOPER_APP_IDENTIFIER }}'
Expand Down

0 comments on commit 5865b3f

Please sign in to comment.