Commit 1ad6bbe5 authored by Remi Rampin's avatar Remi Rampin

Add a hash to CSV querystring to bypass CloudFlare

parent a40ca0d9
Pipeline #9418480 passed with stage
in 47 seconds
......@@ -18,6 +18,8 @@ pages:
- mkdir .public
- cp -r * .public/
- mv .public public
- "sed 's/\\( csv_path *[:=] *[\"'\\'']data\\/women-leaders-openness\\.csv\\)\\([\"'\\'']\\)/\\1?h='$(git rev-parse --short HEAD)'\\2/' index.html >public/index.html"
- "sed 's/\\( csv_path *[:=] *[\"'\\'']data\\/women-leaders-openness\\.csv\\)\\([\"'\\'']\\)/\\1?h='$(git rev-parse --short HEAD)'\\2/' map.html >public/map.html"
artifacts:
paths:
- public
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment