Skip to content

Commit

Permalink
Change workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Alessandro De Maria committed Sep 1, 2024
1 parent 1b3f10c commit 0ca59b1
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 7 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/test-build-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ on:
paths-ignore:
- 'docs/**'
- '.github/workflows/documentation.yml'
- '.github/workflows/vhs.yml'
- 'mkdocs.yml'
- 'CNAME'

Expand All @@ -25,6 +26,7 @@ on:
paths-ignore:
- 'docs/**'
- '.github/workflows/documentation.yml'
- '.github/workflows/vhs.yml'
- 'mkdocs.yml'
- 'CNAME'

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/vhs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
workflow_dispatch:
pull_request:
paths:
- docs/tapes/*.tape
- docs/vhs/tapes/*.tape

jobs:
vhs:
Expand All @@ -23,7 +23,7 @@ jobs:
- name: run VHS
run: |
# shellcheck disable=SC2086
for file in docs/tapes/*.tape
for file in docs/vhs/tapes/*.tape
do
filename="$(basename ${file})"
vhs "${file}" -o "docs/vhs/gifs/${filename%%.tape}.gif"
Expand Down
5 changes: 0 additions & 5 deletions docs/tapes/kapitan-init.tape

This file was deleted.

16 changes: 16 additions & 0 deletions docs/vhs/tapes/kapitan-init.tape
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
Require kapitan
Set WindowBar Colorful
Set Margin 20
Set MarginFill "#674EFF"
Set BorderRadius 10
Type "kapitan init --directory $HOME/kapitan-templates"
Enter
Sleep 2.5s
Enter
Sleep 15s
Type "cd $HOME/kapitan-templates"
Enter
Sleep 2.5s
Type "./kapitan inventory -t tutorial -p target_name"
Enter
Sleep 10s
Binary file added out.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0ca59b1

Please sign in to comment.