Skip to content

Commit

Permalink
Move env var to step that needs it
Browse files Browse the repository at this point in the history
  • Loading branch information
merschformann committed Dec 18, 2024
1 parent 6990c5a commit 87984e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/auto-benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ env:
jobs:
auto-benchmark:
runs-on: ubuntu-latest
env:
BENCHMARK_ACCOUNT_ID: ${{ vars.BENCHMARK_ACCOUNT_ID }}
steps:
- name: git clone
uses: actions/checkout@v4
Expand All @@ -30,6 +28,8 @@ jobs:
pip install -r .nextmv/benchmark.requirements.txt
- name: run acceptance test
env:
BENCHMARK_ACCOUNT_ID: ${{ vars.BENCHMARK_ACCOUNT_ID }}
run: |
export BRANCH_NAME=$(echo $GITHUB_REF | awk -F'/' '{print $3}')
export BENCHMARK_API_KEY_PROD=${{ secrets.BENCHMARK_API_KEY_PROD }}
Expand Down

0 comments on commit 87984e5

Please sign in to comment.