From 79d99e4b991b1cd99bccb02e8c66111769dd7ba4 Mon Sep 17 00:00:00 2001 From: Diego Fernandes Date: Sun, 3 Mar 2024 20:16:10 -0300 Subject: [PATCH 1/2] ci: test cleanup --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 From 05eb6fdb65d1dd55c655ba84b2b1728769f3cfa7 Mon Sep 17 00:00:00 2001 From: Diego Fernandes Date: Sun, 3 Mar 2024 20:19:36 -0300 Subject: [PATCH 2/2] ci: continue on error --- .github/workflows/deploy-preview.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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