134 أسطر
2.2 KiB
Markdown
134 أسطر
2.2 KiB
Markdown
---
|
||
marp: true
|
||
theme: default
|
||
footer: '@Chris_L_Ayers - https://chris-ayers.com'
|
||
style: |
|
||
.columns {
|
||
display: grid;
|
||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||
gap: 1rem;
|
||
}
|
||
---
|
||
|
||

|
||
# CI/CD with GitHub Actions
|
||
|
||
---
|
||
|
||

|
||
|
||
## Chris Ayers
|
||
### Senior Customer Engineer<br>Microsoft
|
||
|
||
- Twitter: @Chris\_L\_Ayers
|
||
- LinkedIn: - [chris\-l\-ayers](https://linkedin.com/in/chris-l-ayers/)
|
||
- Blog: [https://chris-ayers\.com/](https://chris-ayers.com/)
|
||
- GitHub: [Codebytes](https://github.com/codebytes)
|
||
|
||
---
|
||

|
||
|
||
# Agenda
|
||
- YAML
|
||
- CI / CD
|
||
- Actions Overview
|
||
- Demos
|
||
|
||
---
|
||
|
||

|
||
|
||
<div class="columns">
|
||
<div>
|
||
|
||
# YAML
|
||
## **Yet Another Markup Language**
|
||
|
||
GitHub uses YAML for workflows
|
||
</div>
|
||
<div>
|
||
|
||
| Feature | Description |
|
||
| --- | --- |
|
||
| Lists | Start with a – |
|
||
| Key-Value | Key: value |
|
||
| Objects | Objects:<br>Properties of objects |
|
||
|
||
</div>
|
||
|
||
</div>
|
||
|
||
---
|
||
|
||

|
||
# What is CI/CD?
|
||
|
||

|
||
|
||
---
|
||
|
||

|
||
# Actions Overview
|
||
|
||
- Actions are Event Driven
|
||
- Live in the .github/workflows folder
|
||
- Workflows are defined in YAML
|
||
|
||
---
|
||
|
||

|
||
|
||
# Workflows
|
||
- [Events](https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows) trigger workflows
|
||
- Workflows contain jobs
|
||
- Jobs contain steps
|
||
- Steps are commands or actions
|
||
|
||
---
|
||
|
||

|
||
# Jobs
|
||
- Workflows can contain multiple jobs
|
||
- Each job runs on a [Runner](https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners)
|
||
|
||
---
|
||
|
||

|
||
# DEMOS
|
||
|
||
---
|
||
|
||
# Questions
|
||
|
||

|
||

|
||
|
||
---
|
||
|
||
# Resources
|
||
|
||
<div class="columns">
|
||
<div>
|
||
|
||
## Links
|
||
|
||
- https://docs.github.com
|
||
- [https://skills.github.com](https://skills.github.com)
|
||
|
||
</div>
|
||
<div>
|
||
|
||
## Chris Ayers
|
||
- Twitter: @Chris\_L\_Ayers
|
||
- LinkedIn: - [chris\-l\-ayers](https://linkedin.com/in/chris-l-ayers/)
|
||
- Blog: [https://chris-ayers\.com/](https://chris-ayers.com/)
|
||
- GitHub: [Codebytes](https://github.com/codebytes)
|
||
|
||
</div>
|
||
|
||
</div>
|
||
|
||
<!-- mermaid.js -->
|
||
<script src="https://unpkg.com/mermaid@9.3.0/dist/mermaid.min.js"></script>
|
||
<script>mermaid.initialize({startOnLoad:true});</script>
|