fix: Use correct key for env #68
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Execute performance tests on PR | |
on: | |
pull_request: {} | |
jobs: | |
execute: | |
name: Execute performance tests | |
runs-on: ubuntu-latest | |
concurrency: performance-tests | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: oNaiPs/secrets-to-env-action@v1 | |
with: | |
secrets: ${{ toJSON(secrets) }} | |
- name: Get cluster context | |
run: make get-cluster-context | |
- name: Deploy dependencies | |
run: make deploy | |
- name: Execute performance tests | |
run: make execute-k6 | |
# TODO: We need to edit this before accepting PRs because this will fail with forks | |
env: | |
REPO_BRANCH: ${{ github.head_ref || github.ref_name }} | |
- name: Cleanup dependencies | |
run: make undeploy | |
if: ${{ always() }} |