Skip to content

Commit

Permalink
Merge pull request #5 from Rocketseat/citest
Browse files Browse the repository at this point in the history
ci: test cleanup
  • Loading branch information
diego3g authored Mar 3, 2024
2 parents e582703 + 05eb6fd commit 572ad47
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/deploy-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Nivo

The all-in-one video solution for online learning.
The all-in-one video solution for online learning.

..test ci

0 comments on commit 572ad47

Please sign in to comment.