Skip to content

Commit

Permalink
Create main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
yury-dubinin authored Jul 3, 2024
1 parent 623e80f commit e9a475f
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Preview frontend E2E tests

on:
push:

jobs:
wait-for-deployment:
runs-on: ubuntu-latest
outputs:
vercel_url: ${{steps.vercel.outputs.environment_url}}
steps:
- name: Check out repository
uses: actions/checkout@v4
- id: vercel
env:
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
run: |
echo "$BRANCH_NAME"
python -m pip install requests
python main.py
- name: Echo GITHUB_OUTPUT
run: echo "$GITHUB_OUTPUT"
- name: Echo GITHUB_ENV
run: echo "$GITHUB_ENV"

0 comments on commit e9a475f

Please sign in to comment.