Skip to content

Commit

Permalink
this is terrible... er
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasmhughes committed Mar 18, 2024
1 parent eabcd10 commit 5b98672
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,12 @@ jobs:
TEST_ENV_VARS: ${{ steps.encode.outputs.TEST_ENV_VARS }}
steps:
- name: Encode AZURE_* secrets
id: encode-azure
run: echo -e "EITR_ID='${{ secrets.EITR_ID }}'\nEITR_SECRET='${{ secrets.EITR_SECRET }}'" | base64
- name: Set output secret
id: encode
run: echo "TEST_ENV_VARS=$(echo -n ${{ steps.encode-azure.outputs.stdout }})" >> $GITHUB_ENV
run: echo -e "EITR_ID='${{ secrets.EITR_ID }}'\nEITR_SECRET='${{ secrets.EITR_SECRET }}'" | base64

call_central_workflow:
name: CI
uses: eitrtechnologies/test-github-actions-central/.github/workflows/ci.yml@main
needs: encode_secrets
env:
TEST_ENV_VARS: ${{ needs.encode-secrets.outputs.TEST_ENV_VARS }}
with:
TEST_ENV_VARS: ${{ env.TEST_ENV_VARS }}
TEST_ENV_VARS: ${{ needs.encode_secrets.outputs.TEST_ENV_VARS }}

0 comments on commit 5b98672

Please sign in to comment.