store transport in the example local_relying_party_server.dart #6
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: Deploy passkeys example to Vercel | |
env: | |
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} | |
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} | |
on: | |
push: | |
branches: [ main ] | |
release: | |
types: [ published ] | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
- name: Set up Flutter | |
uses: subosito/flutter-action@v2 | |
with: | |
# Pin to a Flutter version that your app supports | |
# or omit to use the default stable version | |
flutter-version: "3.27.4" | |
- name: Deploy Next example to Vercel | |
run: | | |
cd packages/passkeys/passkeys/example | |
npx vercel pull -t $VERCEL_TOKEN | |
npx vercel build --prod -t $VERCEL_TOKEN | |
npx vercel deploy --prebuilt --prod -t $VERCEL_TOKEN | |
env: | |
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID_PASSKEYS_EXAMPLE }} |