Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Action Packed JAMstack

Action Packed JAMstack

GitHub Actions is the biggest feature coming out of GitHub since the Pull Request and it is now empowering the JAMstack in ways that have not previously been conceived. Join in my walkthrough how you can leverage this new tool in creating Action packed workflows to supercharge your repos and GitHub experience. Build your container apps to run arbitrary code, publish packages to registries, or even automate welcoming new users to your projects — with access to the full GitHub API and any other public APIs, Actions has limitless to enhance you JAM.

Brian Douglas

April 09, 2019
Tweet

More Decks by Brian Douglas

Other Decks in Technology

Transcript

  1. javascript styles Static assets index.html Web Application images build process

    workflow components node_modules lib public @bdougieYO Build tool workflow
  2. allow integrators the flexibility to request specific access to resources

    and act as a first class actor without taking up a paid seat within an organization. @bdougieYO sandwich.netlify.com @bdougieYO @bdougieYO @bdougieYO @bdougieYO @bdougieYO GitHub Apps
  3. • Web hooks • Authentication • Token based actor •

    Template into the GitHub API @bdougieYO sandwich.netlify.com @bdougieYO @bdougieYO @bdougieYO @bdougieYO @bdougieYO GitHub Apps benefits
  4. CI/CD: Pipeline Source Control Commit changes Build Run build +

    unit tests Staging Deploy to test environment Production Deploy to production environment @bdougieYO
  5. CI/CD: Automation Source Control Commit changes Build Run build +

    unit tests Staging Deploy to test environment Production Deploy to production environment @bdougieYO
  6. CI/CD: Source control Source Control Commit changes Build Run build

    + unit tests Staging Deploy to test environment Production Deploy to production environment @bdougieYO
  7. CI/CD: Pipeline Source Control Commit changes Build Run build +

    unit tests Staging Deploy to test environment Production Deploy to production environment @bdougieYO
  8. CI/CD: Build confidence Source Control Commit changes Build Run build

    + unit tests Staging Deploy to test environment Production Deploy to production environment @bdougieYO
  9. –Beyoncé “If everything was perfect, you would never learn and

    you would never grow.” Source Control Build @bdougieYO @bdougieYO
  10. GitHub is a collaboration platform. We provide enough features and

    get out of the way of the developer. @bdougieYO @bdougieYO @bdougieYO @bdougieYO @bdougieYO @bdougieYO
  11. GitHub Actions allow you to implement custom logic without creating

    an app to perform the task you need. @bdougieYO sandwich.netlify.com @bdougieYO @bdougieYO @bdougieYO @bdougieYO @bdougieYO GitHub Actions @bdougieYO
  12. • Combine Actions to create workflows • Run code from

    anywhere • Provide token secrets • 59 mins of runtime @bdougieYO sandwich.netlify.com @bdougieYO @bdougieYO @bdougieYO @bdougieYO @bdougieYO GitHub Actions @bdougieYO
  13. Checks API: Check Suite initiated By default, GitHub creates a

    check suite automatically when code is pushed to the repository. @bdougieYO
  14. Checks API: Check Run events GitHub automatically adds new check

    runs to the correct check suite based on the check run's repository and SHA. @bdougieYO
  15. Checks API: Check Run status updates Check suites summarize the

    status and conclusion of the check runs that a suite includes. @bdougieYO
  16. As a developer I would like to trigger deploys when

    a pull request is opened and offload the management of staging environment generation to my CI automation. –bdougie @bdougieYO @bdougieYO
  17. GitHub App: Netlify Installing the Netlify App grants you access

    to a number of checks associated building and deploying your site. @bdougieYO
  18. GitHub App: Netlify is using the Checks API • Build,

    deploy, and manage modern web projects @bdougieYO
  19. • Provide the target_url to directly link to the integration’s

    deploys logs • If the environment_url is provide a “view deployment” will be provide in the dashboard. More details on a Deployment status @bdougieYO @bdougieYO
  20. • Provide the target_url to directly link to the integration’s

    deploys logs. • If the environment_url is provide a “view deployment” will be provide in the dashboard. More details on a Deployment status @bdougieYO @bdougieYO