Skip to content

Commit

Permalink
Move env in workflow to job context
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeWags committed Jul 1, 2024
1 parent 1cfac02 commit 4e3a89c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/download_upload_cycle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down

0 comments on commit 4e3a89c

Please sign in to comment.