Skip to content

Instantly share code, notes, and snippets.

@fakenickels
Forked from bacongravy/deploy.yml
Last active October 31, 2020 19:03
Show Gist options
  • Save fakenickels/a1827f324eb4e824405e495dac607731 to your computer and use it in GitHub Desktop.
Save fakenickels/a1827f324eb4e824405e495dac607731 to your computer and use it in GitHub Desktop.
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