Learn about Travis CI and how to set up automated builds of your project. Nate demonstrates how to add the required files for a Travis build to your project.
- [Narrator] Travis CI is a tool…that makes it easy to do automated testing…and deployment.…For this project, we'll use Travis to…automatically build and deploy your site…whenever the files in GitHub change.…All you need to sign into Travis is…an existing GitHub account.…Once you sign in, click the plus icon…to add a new repository to Travis.…If you don't see the repo that you just created…click the sync account button to refresh the list.…Flip the switch next to your repository…and then click on settings.…
We want to switch off build push pull requests.…We only want to build the master branch.…Travis looks for a file called….travis.yml in the root of your repository.…Let's go create that file.…Over in VS code I'm going to do new file…and call it .travis….yml.…This file contains a list of instructions…that will be processed by Travis…to set up what we need to build the site.…What I'll do first, is create an install section.…And in this install section, I need to get Hugo…into the Travis environment. It's not there by default.…
- Advantages of static sites
- Installing Hugo and Git
- Creating a new Hugo site
- Building a new website
- Adding posts, pages, and static content
- Publishing your static site
- Deploying via FTP, AWS, and Netlify
Skill Level Beginner
Amazon Web Services Essential Trainingwith Jeff Winesett5h 2m Intermediate
Amazon Web Services: Storage and Data Managementwith Brandon Rich3h 50m Intermediate
1. How Static Sites Work
2. Set Up Hugo
3. Build a Website
4. Prepare for Publishing
5. Deploy via FTP
6. Deploy to AWS
7. Deploy with Netlify
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.