We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf1043f commit 50a46d3Copy full SHA for 50a46d3
.github/workflows/update-apps.yml
@@ -0,0 +1,26 @@
1
+name: Update CoMapeo Apps
2
+
3
+on:
4
+ release:
5
+ types: [published]
6
7
+jobs:
8
+ update-mobile:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - name: Create GitHub App Token
12
+ uses: actions/create-github-app-token@v1
13
+ id: app-token
14
+ with:
15
+ app-id: ${{ vars.PR_BOT_APP_ID }}
16
+ private-key: ${{ secrets.PR_BOT_PRIVATE_KEY }}
17
+ - name: Trigger comapeo-mobile update-core workflow
18
+ run: |
19
+ gh api \
20
+ --method POST \
21
+ -H "Accept: application/vnd.github+json" \
22
+ -H "X-GitHub-Api-Version: 2022-11-28" \
23
+ /repos/digidem/comapeo-mobile/dispatches \
24
+ -f event_type=update-core
25
+ env:
26
+ GH_TOKEN: ${{ steps.app-token.outputs.token }}
0 commit comments