Skip to content

Commit 60e0ea1

Browse files
Always retain artifacts even if the app container is not running
1 parent 79201f8 commit 60e0ea1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ jobs:
162162
- name: Copy out artifacts
163163
if: ${{ always() }}
164164
run: |
165-
docker compose cp app:/opt/app/artifacts ./
165+
docker compose cp app:/opt/app/artifacts ./ || mkdir artifacts
166166
docker compose logs > artifacts/docker-compose-services.log
167167
docker compose config > artifacts/docker-compose.merged.yml
168168

0 commit comments

Comments
 (0)