Release 1.9.0, build 75 #86
Workflow file for this run
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
# Deploys new version to app_store, generates screenshots and publish them on Github Pages. | |
name: Deploy | |
on: | |
push: | |
tags: | |
- "v*" | |
workflow_dispatch: | |
concurrency: | |
group: movapp-apple-deploy-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
app_store: | |
runs-on: macos-12 | |
timeout-minutes: 40 | |
env: | |
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }} | |
MATCH_GIT_PRIVATE_KEY: ${{ secrets.MATCH_GIT_PRIVATE_KEY }} | |
APP_STORE_API_KEY: ${{ secrets.APP_STORE_API_KEY }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build & Upload | |
run: | | |
bundle install | |
bundle exec fastlane upload | |
screenshots: | |
runs-on: macos-12 | |
timeout-minutes: 240 | |
env: | |
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }} | |
MATCH_GIT_PRIVATE_KEY: ${{ secrets.MATCH_GIT_PRIVATE_KEY }} | |
APP_STORE_API_KEY: ${{ secrets.APP_STORE_API_KEY }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build & Upload | |
run: | | |
bundle install | |
bundle exec fastlane create_missing_devices | |
bundle exec fastlane uploadScreenshots | |
- name: Upload artifact | |
uses: actions/upload-pages-artifact@v1 | |
with: | |
path: Fastlane/screenshots | |
# Deployment job | |
pages: | |
environment: | |
name: github-pages | |
url: ${{ steps.deployment.outputs.page_url }} | |
runs-on: ubuntu-latest | |
needs: screenshots | |
# Grant GITHUB_TOKEN the permissions required to make a Pages deployment | |
permissions: | |
pages: write # to deploy to Pages | |
id-token: write # to verify the deployment originates from an appropriate source | |
steps: | |
- name: Deploy to GitHub Pages | |
id: deployment | |
uses: actions/deploy-pages@v1 |