File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919 env :
2020 TRAVIS_REPO_SLUG : ascoderu/ascoderu.github.io
2121 GITHUB_TOKEN : ${{ secrets.GH_PAGES_TOKEN }}
22+ CLOUDFLARE_TOKEN : ${{ secrets.CF_API_TOKEN }}
Original file line number Diff line number Diff line change 88 "scripts" : {
99 "predeploy" : " gh-pages-clean" ,
1010 "deploy" : " gh-pages --silent --dist src --branch master --repo \" https://${GITHUB_TOKEN}@github.com/${TRAVIS_REPO_SLUG}\" " ,
11+ "postdeploy" : " cfcli --domain ascoderu.ca --token \" ${CLOUDFLARE_TOKEN}\" purge" ,
1112 "lint.css" : " csslint src" ,
1213 "lint.html" : " htmllint src/index.html" ,
1314 "lint.js" : " eslint --max-warnings=0 src/script.js" ,
1415 "lint" : " run-s lint.html lint.css lint.js" ,
1516 "start" : " reload --browser --dir src"
1617 },
1718 "devDependencies" : {
19+ "cloudflare-cli" : " ^4.0.0" ,
1820 "csslint" : " ^1.0.5" ,
1921 "eslint" : " ^6.3.0" ,
2022 "gh-pages" : " ^2.1.1" ,
You can’t perform that action at this time.
0 commit comments