chore: Try to ping search engines differently

This commit is contained in:
Robert Prehn 2023-10-26 13:21:45 +00:00
parent ad3846be2f
commit 8da1e7b275
No known key found for this signature in database

View file

@ -15,8 +15,16 @@ pages:
artifacts:
paths:
- public
# This sequences waits 10 seconds after deploy (for GitLab pages to do its thing, then pings search engines)
# I wish we could just depend on the pages:deploy job that GitLab inserts, but apparently we can't reference it.
wait:
needs:
- "pages"
script:
- sleep 10
ping:
needs:
- "pages:deploy"
- "wait"
script:
- mix pre_dot_hn.ping