From 4e3a89c4dd645b551807a37eec76af19ebc1fc54 Mon Sep 17 00:00:00 2001 From: Jake Wagoner Date: Mon, 1 Jul 2024 14:37:32 -0600 Subject: [PATCH] Move env in workflow to job context --- .github/workflows/download_upload_cycle.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/download_upload_cycle.yml b/.github/workflows/download_upload_cycle.yml index a8c4bb38..e078dd70 100644 --- a/.github/workflows/download_upload_cycle.yml +++ b/.github/workflows/download_upload_cycle.yml @@ -9,6 +9,8 @@ jobs: DJANGO_SUPERUSER_PASSWORD: django-password DJANGO_SUPERUSER_USERNAME: admin DJANGO_SUPERUSER_EMAIL: admin@noemail.com + CICD_PUBLIC_USER: ${{ secrets.CICD_PUBLIC_USER }} + CICD_PUBLIC_PASSWORD: ${{ secrets.CICD_PUBLIC_PASSWORD }} runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -35,9 +37,6 @@ jobs: resource: 'http://localhost:8000/api/docs/swagger/' - name: Run tox - env: - CICD_PUBLIC_USER: ${{ env.CICD_PUBLIC_USER }} - CICD_PUBLIC_PASSWORD: ${{ env.CICD_PUBLIC_PASSWORD }} run: tox -e download_upload_cycle working-directory: ./swcc