Skip to content

Commit

Permalink
Update entry to directly jump to the single lessons
Browse files Browse the repository at this point in the history
  • Loading branch information
frudisch committed Sep 12, 2024
1 parent c33e7bd commit d4d5366
Show file tree
Hide file tree
Showing 4 changed files with 65 additions and 11 deletions.
10 changes: 10 additions & 0 deletions .github/workflow/issue_trigger.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: Advanced action skills
on:
issue_comment:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Run on deploy comment
run: |
echo "This is executed from the main branch"
21 changes: 13 additions & 8 deletions 0_basics_cicd.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
# Overview of CI/CD
# Github Actions

Importance of CI/CD in modern software development.
Introduction to GitHub Actions as a CI/CD tool.
Goals for the Workshop:
GitHub Actions is a robust and flexible build and deployment system that supports a wide range of use cases, from simple CI pipelines to complex, multi-environment deployment strategies, making it a valuable tool in modern DevOps practices.

Understanding the basics of GitHub Actions.
Creating and running workflows.
Setting up self-hosted runners for on-premises infrastructure.
Implementing advanced workflows, caching, and secrets management.
* CI/CD Integration

* YAML-Based Workflow Configuration

* Multi-Language Support

* Flexible Triggers

* Secrets Management

* Self-Hosted and GitHub-Hosted Runners

[next >>](./1_basic_github_actions.md)
35 changes: 33 additions & 2 deletions 4_composite_actions.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,38 @@ runs:
### Using composite action
``.github/workflows/example.yaml``
```yaml

jobs:
greet-randomize:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- id: greet-and-randomize
uses: ./.github/actions/greet-and-randomize
with:
who-to-greet: 'Hack&Heat'
- run: echo random-number "$RANDOM_NUMBER"
shell: bash
env:
RANDOM_NUMBER: ${{ steps.greet-and-randomize.outputs.random-number }}
```
## Creating complex actions
## Creating complex actions
-> https://github.com/senacor/workshop-github-action-action
### Integration
```yaml
greet-randomize-external:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- id: greet-and-randomize
uses: senacor/[email protected]
with:
who-to-greet: 'Hack&Heat'
- run: echo random-number "$RANDOM_NUMBER"
shell: bash
env:
RANDOM_NUMBER: ${{ steps.greet-and-randomize.outputs.random-number }}
```
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# Workshop first steps and best practices Github Actions

[Entrance here >>](./0_basics_cicd.md)
[Entrance here >>](./0_basics_cicd.md)

[Basics >>](./1_basic_github_actions.md)

[Intermediate >>](./2_intermediate_github_actions.md)

[Advanced >>](./3_advanced_github_actions.md)

[Composite Actions >>](./4_composite_actions.md)

0 comments on commit d4d5366

Please sign in to comment.