chore: Try to ping search engines differently
This commit is contained in:
parent
ad3846be2f
commit
8da1e7b275
1 changed files with 9 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue