Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
  • Loading branch information
LekoArts committed Nov 8, 2023
1 parent 0ad9f51 commit 2734308
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
run: npm install --global vercel@latest

- name: Pull Vercel environment information
working-directory: $FULL_TMP_FOLDER
working-directory: ./$FULL_TMP_FOLDER
run: |
vercel pull --yes --environment=preview --token=${{ secrets.VERCEL_CLERK_COOKIE_TOKEN }}
Expand All @@ -81,15 +81,15 @@ jobs:
cp -r $GITHUB_WORKSPACE/packages/clerk-js/dist $FULL_TMP_FOLDER/public/clerk-js
- name: Build with Vercel
working-directory: $FULL_TMP_FOLDER
working-directory: ./$FULL_TMP_FOLDER
run: |
vercel build --yes
env:
NEXT_PUBLIC_CLERK_JS: /clerk-js/clerk.browser.js

- name: Deploy to Vercel (prebuilt)
id: vercel-deploy
working-directory: $FULL_TMP_FOLDER
working-directory: ./$FULL_TMP_FOLDER
run: |
vercel deploy --prebuilt --token=${{ secrets.VERCEL_CLERK_COOKIE_TOKEN }} --no-wait > deployment_url.txt
echo "url=$(cat deployment_url.txt)" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 2734308

Please sign in to comment.