diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a66d7dcb..ad69bac8 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -16,17 +16,14 @@ jobs: uses: actions/checkout@v3 with: ref: ${{ github.event.pull_request.head.ref }} - repository: ${{ github.events.pull_request.head.repo.full_name }} + repository: ${{ github.event.pull_request.head.repo.full_name }} - name: 'Create .env file' run: | echo ${{ secrets.ENV_FILE }} > .env - name: Build Docker - run: docker-compose build - with: - files: | - .env + run: docker-compose --env-file .env build - name: Run Tests run: |