DEV Community

Discussion on: Deploy to Github Pages like a pro with Github Actions

 
beatrizsmerino profile image
Beatriz Sopeña Merino

I was also getting some errors in the yml file.
https://dev-to-uploads.s3.amazonaws.com/uploads/articles/wdxdsqk54ds9w8myekjd.png

I solved it by updating it following the structure of this file :
github.com/Rolanddoda/vue-cli-plug...
https://dev-to-uploads.s3.amazonaws.com/uploads/articles/onysv4ohfp8kxs8j9v62.png

... and the name of my npm script also had a different name

I leave it here written down in case someone else finds it helpful.

Thread Thread
 
the_one profile image
Roland Doda

Thanks for that. Yes setup-node@v1.1.0 is deprecated and setup-node@v2 should be used. I will make sure to update the article. Since you are using vue and you found the vue-cli plugin, then I guess you don't have to follow this article anymore. You can just install the plugin and everything that is in that article will automatically be done for you.

Thread Thread
 
beatrizsmerino profile image
Beatriz Sopeña Merino

Thanks, yes I will take a look at the repo, when I have time, it is more updated and I see that there are more automations to get the user's name and email.

Thread Thread
 
the_one profile image
Roland Doda

Yup. :)