Skip to content

Commit

Permalink
use VERCEL_TOKEN
Browse files Browse the repository at this point in the history
  • Loading branch information
yury-dubinin committed Jul 3, 2024
1 parent a0fc5be commit 3e2d73f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/frontend-e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
- id: vercel
env:
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
run: |
echo "$BRANCH_NAME"
python -m pip install requests
Expand Down
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ def wait_for_deployment(timeout):
branch_name = os.getenv('BRANCH_NAME')
print(f"Wait for a deployment for a branch name: {branch_name}")
time.sleep(30)
bearer_token = "rACOcrj1X6jMtXpkQZRMOWxp"
bearer_token = os.getenv('VERCEL_TOKEN')
project_id = "prj_80UzRn6hG8nvUJSwujWUqqho3osT"
headers = {
"Authorization": f"Bearer {bearer_token}"
Expand Down

0 comments on commit 3e2d73f

Please sign in to comment.