Skip to content
This repository has been archived by the owner on Feb 5, 2024. It is now read-only.

Commit

Permalink
Merge pull request #462 from SELab-2/bugfix/github-action-failed-build
Browse files Browse the repository at this point in the history
Attempting to fix the GitHub workflow
  • Loading branch information
jonathancasters authored May 11, 2023
2 parents a3ef145 + e9f8297 commit bd42a52
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit bd42a52

Please sign in to comment.