diff --git a/.github/workflows/deploy-preview.yml b/.github/workflows/deploy-preview.yml index 30ac4bb..d32243f 100644 --- a/.github/workflows/deploy-preview.yml +++ b/.github/workflows/deploy-preview.yml @@ -59,10 +59,14 @@ jobs: - name: Install Vercel CLI run: pnpm i -g vercel@latest - - name: Pull Vercel Environment Information + - name: Delete old Vercel Environment Information + continue-on-error: true run: | vercel env rm DATABASE_URL preview ${{ steps.branch-name.outputs.current_branch }} --yes --token=${{ secrets.VERCEL_TOKEN }} vercel env rm DIRECT_DATABASE_URL preview ${{ steps.branch-name.outputs.current_branch }} --yes --token=${{ secrets.VERCEL_TOKEN }} + + - name: Pull Vercel Environment Information + run: | echo "${{ steps.create-branch.outputs.db_url_with_pooler }}?sslmode=require" | vercel env add DATABASE_URL preview ${{ steps.branch-name.outputs.current_branch }} --token=${{ secrets.VERCEL_TOKEN }} echo "${{ steps.create-branch.outputs.db_url }}?sslmode=require" | vercel env add DIRECT_DATABASE_URL preview ${{ steps.branch-name.outputs.current_branch }} --token=${{ secrets.VERCEL_TOKEN }} vercel env pull --yes --environment=preview --git-branch=${{ steps.branch-name.outputs.current_branch }} --token=${{ env.VERCEL_TOKEN }} .env diff --git a/README.md b/README.md index c0443bf..7a82de4 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ # Nivo -The all-in-one video solution for online learning. \ No newline at end of file +The all-in-one video solution for online learning. + +..test ci \ No newline at end of file