Add instructions to add a new type of token #248
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
name: "Generate catalog app" | |
on: | |
pull_request: | |
branches: | |
- main | |
types: [closed] | |
jobs: | |
catalog: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check pull request status | |
if: "!github.event.pull_request.merged == true" | |
run: 'echo "Skipping generation, pull request is not merged"' | |
- name: Checkout repo | |
if: github.event.pull_request.merged == true | |
uses: actions/checkout@v2 | |
- name: Publish catalog | |
if: github.event.pull_request.merged == true | |
env: | |
APPCENTER_API_TOKEN: ${{ secrets.APPCENTER_API_TOKEN }} | |
run: 'bash ./gradlew clean check appCenterAssembleAndUploadDebug -Dappcenter_app_name=Mistica' |