Release 1.10.0, build 90 #103
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: 270 # 4,5 hours | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build & Upload | |
run: | | |
bundle install | |
bundle exec fastlane create_missing_devices | |
bundle exec fastlane screenshots | |
- name: Upload artifact | |
uses: actions/upload-pages-artifact@v1 | |
with: | |
name: github-pages # default name using `actions/deploy-pages` | |
path: Fastlane/screenshots | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: screenshots | |
path: Fastlane/screenshots | |
retention-days: 1 | |
upload_metadata: | |
runs-on: macos-12 | |
env: | |
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }} | |
MATCH_GIT_PRIVATE_KEY: ${{ secrets.MATCH_GIT_PRIVATE_KEY }} | |
APP_STORE_API_KEY: ${{ secrets.APP_STORE_API_KEY }} | |
needs: screenshots | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/download-artifact@v3 | |
with: | |
name: screenshots | |
path: Fastlane/screenshots | |
- name: Build & Upload | |
run: | | |
bundle install | |
bundle exec fastlane create_missing_devices | |
bundle exec fastlane upload_metadata | |
# 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 |