localhost bind
Some checks failed
/ get-version (push) Successful in 2s
/ astro-check (push) Successful in 12s
/ deploy-unlighthouse-files (push) Has been cancelled
/ deploy-unlighthouse-site (push) Has been cancelled
/ unlighthouse (push) Has been cancelled

This commit is contained in:
Firq 2024-10-22 18:14:36 +02:00
parent 58ae955f66
commit f3ff40b6f1
Signed by: Firq
GPG key ID: 3ACC61C8CEC83C20

View file

@ -16,7 +16,19 @@ jobs:
--health-timeout 5s
--health-retries 5
--workdir /app
ports:
- 8081:8081
steps:
- name: Wait for service to be healthy
run: |
for i in {1..10}; do
if curl -f http://localhost:8081/; then
echo "Website is up!"
break
fi
echo "Waiting for website to be up..."
sleep 5
done
- name: Checkout repository
uses: https://code.forgejo.org/actions/checkout@v3
- name: test
@ -29,8 +41,6 @@ jobs:
run: curl -v -o - "website" || true
- name: test
run: curl -v -o - "website:8081" || true
- name: logs
run: docker logs "${{ job.services.website.id }}"
- name: Run unlighthouse
run: unlighthouse-ci --site "http://website/" --disable-dynamic-sampling
- name: Prepare artifacts