Skip to content

Commit

Permalink
Archive and upload all shop
Browse files Browse the repository at this point in the history
  • Loading branch information
jolelievre committed Dec 5, 2023
1 parent a97c865 commit 4de8b08
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/sanity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,15 @@ jobs:
ENABLE_SSL: true
TAKE_SCREENSHOT_AFTER_FAIL: true

- name: Archive shop content
if: failure()
run: |
mkdir -p /tmp/shop-artifacts
zip -q -r /tmp/shop-artifacts/sources.zip .
- uses: actions/upload-artifact@v3
if: ${{ failure() }}
with:
name: failure-${{ matrix.php }}
path: |
./
/tmp/shop-artifacts

0 comments on commit 4de8b08

Please sign in to comment.