update GH pages deployment workflow example#1800
update GH pages deployment workflow example#1800andrewtchan wants to merge 1 commit into11ty:mainfrom
Conversation
|
hmm — I wonder if this makes a lot of assumptions about folks checking in package-lock files, to me it’s more likely that folks have a package.json checked in than a package-lock.json file |
Thanks for taking a look! I can't speak from experience to how likely those situations are, but strictly following the npm docs the recommendation is to check in I see the argument for simplicity and flexibility since this tutorial is aimed at beginners (like myself). So I do think using I don't see the point of caching What do you think about keeping the cache action pointed at |
I used the GH pages deployment mini-tutorial workflow file last night to deploy my first 11ty project (yay). Noticed that it was slightly out of date from the current example file on the peaceiris repo.
https://github.com/peaceiris/actions-gh-pages#%EF%B8%8F-static-site-generators-with-nodejs.