Skip to content

Commit

Permalink
OXDEV-8356 Configure GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
tkcreateit committed Jul 23, 2024
1 parent 8e401b8 commit fb79860
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/trigger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,14 @@ jobs:
- name: Test homepage
run: |
sudo echo "127.0.0.1 localhost.local" | sudo tee -a /etc/hosts
curl -s -N http://localhost.local | grep -q '<div>OXID Online Shop - Alles rund um das Thema Wassersport, Sportbekleidung und Mode </div>'
test ! -f source/source/oxideshop.log
curl -s -N http://localhost.local | grep -q \
-e 'OXID Online Shop - Alles rund um das Thema Wassersport, Sportbekleidung und Mode' \
-e 'OXID Online Demoshop - Ihr zuverlässiger Partner für Fahrzeuge, Ersatzteile und Merchandise'
- name: Dump log
if: failure()
uses: actions/upload-artifact@v4
with:
name: oxideshop.log
path: source/**/log/oxideshop.log
if-no-files-found: ignore

0 comments on commit fb79860

Please sign in to comment.