( CI, CD): Deploy ( SSG) to Git Hub Pages using Git Hub Actions
In this video, we are going to deploy a (SSG) application to GitHub Pages using GitHub Actions (CI, CD). Make sure you can run npm run build npm run export in your application. Only Static sites, applications can be deployed to GitHub Pages. If you need a server running (because you use getInitialProps, getServerSideProps or fallback:true) you may consider other options like Vercel, Azure, AWS, During the video, we will see how to use environment variables in GitHub actions as well. Timeline: 00:00 Introduction 01:25 GitHub Actions first steps 06:21 First GitHub Actions job completed 06:54 Setup GitHub Pages in repository settings 08:10 See the results of the first deployment 08:57 assetPrefix explanation 09:52 basePath explanation 10:38 Implement . .., BrunoAntunesPT , Nextjs , nextjsdeployment, nextjsdeployment, nextjsgithubpages , nextjsssg, nextjsssgdeployment 20200828 yRz8DoJMWQ
|