Slide 1

Slide 1 text

AUTOMATE WORKFLOW PROCESSES USING GITHUB ACTIONS Automate everything possible SHODIPO AYOMIDE | GITHUB AFRICA, 2020, SAN FRANCISCO

Slide 2

Slide 2 text

Shodipo Ayomide Senior Developer Advocate & Developer Programs Manager - GitHub Star - Cloudinary Media Developer Expert - Community Evangelist Twitter & GitHub @developerayo

Slide 3

Slide 3 text

What are Github Action GitHub actions are simply little bit's of code that can be triggered under certain conditions. It also provides an easier way to add CI/CD processes into your project.

Slide 4

Slide 4 text

Workflow Automation GitHub actions allows you to write or setup indivitual actions and combine them to bring about a complete workflow automation.

Slide 5

Slide 5 text

Workflow Automation

Slide 6

Slide 6 text

One of the best way to increase produuctitvity in a project is to automate everything that can be automated which has been made easier thanks to GitHub Actions.

Slide 7

Slide 7 text

Every event that happens in your repo can trigger an atomated action - When a PR is pushed - When an Issue is opened - When a new branch is created - Create - Deployment - And More

Slide 8

Slide 8 text

You can also conisder GitHub Actions as this reusable code just like how you have npmjs as a package manager GitHub has a directory of GitHub actions created by the community of which you can impliment based on what exactly you would like to automate You could call i "GitHub Actions Manager" :)

Slide 9

Slide 9 text

You can create new actions or use already created action built by the community.

Slide 10

Slide 10 text

actions.yml, main.yml, anything.yml This is how GitHub actions identifies actions in .github/workflows/main.yml

Slide 11

Slide 11 text

This is how GitHub actions identifies actions in .github/workflows/main.yml

Slide 12

Slide 12 text

No content

Slide 13

Slide 13 text

No content

Slide 14

Slide 14 text

No content

Slide 15

Slide 15 text

Each Actions are their own GitHub repository which you can fork and customize however you want it.

Slide 16

Slide 16 text

No content

Slide 17

Slide 17 text

GitHub is super generios with how GitHub actions is commercialised Payments

Slide 18

Slide 18 text

GitHub actions is available for the GitHub free tier, GitHub Pro, GitHub Team, and GitHub Enterprise. Payments

Slide 19

Slide 19 text

A log as we all know is how we see the processes being run under the hood and if anything goes wrong we can read the log's and find out where the process fialed. GitHub Action Logs

Slide 20

Slide 20 text

GitHub Action Logs

Slide 21

Slide 21 text

GitHub Action Logs You can expand jobs to read more

Slide 22

Slide 22 text

GitHub Action Logs You can search workflow to find what exactly you are looking for in the action log.

Slide 23

Slide 23 text

The Status Badge of Honour

Slide 24

Slide 24 text

Resources https://github.com/Developerayo/github-africa-actions https://github.com/features/actions

Slide 25

Slide 25 text

Questions? Follow me on Twitter & GitHub @developerayo Thank You! SHODIPO AYOMIDE | GITHUB AFRICA, 2020, SAN FRANCISCO