-
-
Save fakenickels/a1827f324eb4e824405e495dac607731 to your computer and use it in GitHub Desktop.
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: deploy | |
on: | |
push: | |
branches: [ master ] | |
tags: [ v* ] | |
jobs: | |
deploy: | |
runs-on: macos-latest | |
steps: | |
- name: Checkout project | |
uses: actions/checkout@v2 | |
- name: Build app | |
run: | | |
fastlane run build_app | |
- name: Upload build artifacts | |
uses: actions/upload-artifact@v2 | |
with: | |
name: build.log | |
path: ~/Library/Logs/gym/*.log | |
- name: Upload app to App Store Connect | |
env: | |
APP_STORE_CONNECT_USERNAME: ${{ secrets.APP_STORE_CONNECT_USERNAME }} | |
APP_STORE_CONNECT_PASSWORD: ${{ secrets.APP_STORE_CONNECT_PASSWORD }} | |
run: | | |
xcrun altool --upload-app -t ios -f "$PRODUCT_NAME.ipa" -u "$APP_STORE_CONNECT_USERNAME" -p "$APP_STORE_CONNECT_PASSWORD" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment