From e0eb10a49f070e17a47d797f0e4295f6b3bd9c02 Mon Sep 17 00:00:00 2001 From: Adam Saleh Date: Nov 07 2022 15:12:22 +0000 Subject: Environment has to be set for secrets to work --- diff --git a/.github/workflows/centos-stream8.yml b/.github/workflows/centos-stream8.yml index 6ca115b..31e9900 100644 --- a/.github/workflows/centos-stream8.yml +++ b/.github/workflows/centos-stream8.yml @@ -2,6 +2,7 @@ jobs: test_0: name: test_0 runs-on: ubuntu-latest + environment: centosduffy steps: - name: Install SSH key uses: shimataro/ssh-key-action@v2 @@ -12,7 +13,10 @@ jobs: if_key_exists: fail # replace / ignore / fail; optional (defaults to fail) - uses: "actions/checkout@v2" - run: sudo python3 -m pip install duffy fabric httpx - - run: DUFFY_AUTH_NAME=${{ secrets.DUFFY_AUTH_NAME }} DUFFY_AUTH_KEY=${{secrets.DUFFY_AUTH_KEY}} python3 t_functional_duffy_runner/src/__main__.py --arch=x86 --release=centos-8s + - run: python3 t_functional_duffy_runner/src/__main__.py --arch=x86 --release=centos-8s + env: + DUFFY_AUTH_NAME: ${{ secrets.DUFFY_AUTH_NAME }} + DUFFY_AUTH_KEY: ${{secrets.DUFFY_AUTH_KEY}} name: Greeting