diff --git a/.github/workflows/expo-preview.yml b/.github/workflows/expo-preview.yml
index d5d7b95c..eb29b32e 100644
--- a/.github/workflows/expo-preview.yml
+++ b/.github/workflows/expo-preview.yml
@@ -41,9 +41,13 @@ jobs:
working-directory: ./example
run: expo publish --release-channel=pr-${{ github.event.number }}
+ - name: Get expo link
+ id: expo
+ run: echo "::set-output name=path::@react-navigation/react-navigation-example?release-channel=pr-${{ github.event.number }}"
+
- name: Comment on PR
uses: unsplash/comment-on-pr@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
- msg: The Expo app for the example from this branch is ready!
.
+ msg: The Expo app for the example from this branch is ready!
[expo.io/${{ steps.expo.outputs.path }}](https://expo.io/${{ steps.expo.outputs.path }})
.