Fireship · @fireship

5 Ways to DevOps-ify your App - Github Actions Tutorial

Uploaded March 16, 2020 · Length 12:12

5 Ways to DevOps-ify your App - Github Actions Tutorial

Summary

Learn 5 ways to automate your app using GitHub Actions, a tutorial on implementing DevOps for continuous integration and delivery.

  • github actions tutorial
  • devops for beginners
  • continuous integration and delivery
  • automating app development
  • github actions for dummies

Transcript preview

The first 2 minutes of the transcript. Select a timestamp to watch that moment on YouTube.

  1. 0:00

    one of the best ways to increase

  2. 0:01

    productivity in a software project is to

  3. 0:03

    automate anything manual or repetitive

  4. 0:05

    and you might be surprised at how easy

  5. 0:07

    automation is to implement when you use

  6. 0:09

    an awesome tool like github actions in

  7. 0:11

    today's video we'll look at five

  8. 0:12

    different techniques that can improve

  9. 0:13

    the quality of your code and make your

  10. 0:15

    life more productive through the magic

  11. 0:16

    of DevOps if you have no idea what terms

  12. 0:18

    like continuous integration and delivery

  13. 0:20

    mean you will by the end of this video

  14. 0:22

    and if you choose to follow along with

  15. 0:24

    your own project we will automate the

  16. 0:25

    hell out of it if you're new here like

  17. 0:27

    and subscribe and grab the full write-up

  18. 0:28

    from fire ship IO before we get started

  19. 0:30

    I'd like to take a second to say thank

  20. 0:32

    you because the channel just surpassed

  21. 0:33

    three hundred thousand subscribers to

  22. 0:35

    celebrate that I have a big giveaway

  23. 0:36

    plan in the next 100 seconds of code

  24. 0:38

    video that everybody can participate in

  25. 0:40

    stay tuned for that in a couple days

  26. 0:42

    pending the apocalypse now to get

  27. 0:47

    started with today's video the only

  28. 0:49

    thing you really need is a github

  29. 0:50

    repository and the service has a very

  30. 0:52

    generous free tier so don't worry about

  31. 0:54

    paying for anything upfront now Before

  32. 0:56

    we jump into these five different DevOps

  33. 0:57

    recipes let's answer the question of

  34. 0:59

    what is github actions consider a repo

  35. 1:02

    on github there are all kinds of

  36. 1:04

    different events that can happen to that

  37. 1:05

    repo someone might start the repo send a

  38. 1:07

    pull request or you might merge code

  39. 1:09

    into the master branch these are

  40. 1:10

    examples of events and any event can

  41. 1:12

    trigger an automated workflow a workflow

  42. 1:15

    can spin up one or more containers for

  43. 1:16

    you in the cloud then you provide a set

  44. 1:18

    of steps or instructions for the

  45. 1:20

    container to do something useful for you

  46. 1:22

    github will log the progress of each

  47. 1:23

    step and make it very clear if something

  48. 1:25

    failed now the really cool thing about

  49. 1:26

    actions is that instead of writing your

  50. 1:28

    own steps from scratch you can use ones

  51. 1:30

    implemented by the community you can

  52. 1:32

    think of each step as a reusable chunk

  53. 1:34

    of code which we call an action on

  54. 1:35

    github you'll find hundreds of reusable

  55. 1:37

    actions that solve common problems with

  56. 1:39

    each one being its own git repo that you

  57. 1:41

    can fork and customize as needed but I

  58. 1:43

    think the best way to get started is to

  59. 1:45

    look at some real-world examples a good

  60. 1:46

    starting place is continuous integration

  61. 1:48

    and if you have no idea what that term

  62. 1:50

    means make sure to check out my 100

  63. 1:52

    seconds of code video on that topic the

  64. 1:53

    whole idea behind continuous integration

  65. 1:55

    or CI is to have developers submit their

  66. 1:58

    code to the main codebase and small