* Corrected mistake, was 10GB
* Corrected mistake, was 10GB
stages:
- deploy
- clear-cache
pages:
stage: deploy
script:
- mkdir .public
- cp -r * .public
- mv .public public
artifacts:
paths:
- public
only:
- master
clear-cache:
stage: clear-cache
script:
- curl -X DELETE "https://api.cloudflare.com/client/v4/zones/$CF_ZONE_ID/purge_cache" -H "X-Auth-Key:$CF_AUTH_KEY" -H "X-Auth-Email:$CF_AUTH_EMAIL" -H "Content-Type:application/json" --data '{"purge_everything":true}'
only:
- masterI followed the tutorial at [0] and had my site [1] running in an afternoon, as promised in the tutorial. The slowest thing was figuring out how to get my (paid-for) custom domain to point at GitHub (although a custom domain isn't essential to get your site running). I've had my site active since May 2018 with essentially zero hassle.
Pleasingly, you don't need to know anything about the version control aspects of Git to publish a site or add new blog pages and then edit them.
>> Must haves: Be able to display a message on the landing page Nice to haves: A Folder to keep articles
Yes to both of your must haves