Skip to content

Commit d1eabac

Browse files
committed
chore: update preview qr code
1 parent 5f463b7 commit d1eabac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/publish-each-pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,11 @@ jobs:
6464
const { sdkVersion } = config;
6565
const { projectId } = config.extra.eas;
6666
67-
const channel = 'pr-${{ github.event.number }}';
67+
const branchId = ${{ github.ref_name }}
6868
6969
const url = `https://expo.dev/@react-native-paper/react-native-paper-example?serviceType=eas&distribution=expo-go&scheme=exp+react-native-paper-example&channel=${channel}&sdkVersion=${sdkVersion}`;
7070
const body = `The mobile version of example app from this branch is ready! You can [see it here.](${url})
71-
<a href="${url}"><img src="https://qr.expo.dev/eas-update?appScheme=exp&projectId=${projectId}&channel=${channel}&runtimeVersion=exposdk:${sdkVersion}&host=u.expo.dev" height="200px" width="200px"></a>
71+
<a href="${url}"><img src="https://qr.expo.dev/eas-update?projectId=${projectId}&runtimeVersion=exposdk:${sdkVersion}&branchId=${branchId}" height="200px" width="200px"></a>
7272
`;
7373
7474
const comments = await github.rest.issues.listComments({

0 commit comments

Comments
 (0)