diff --git a/.github/workflows/test-build-publish.yml b/.github/workflows/test-build-publish.yml index b65a3ec52..f53503b7f 100644 --- a/.github/workflows/test-build-publish.yml +++ b/.github/workflows/test-build-publish.yml @@ -15,6 +15,7 @@ on: paths-ignore: - 'docs/**' - '.github/workflows/documentation.yml' + - '.github/workflows/vhs.yml' - 'mkdocs.yml' - 'CNAME' @@ -25,6 +26,7 @@ on: paths-ignore: - 'docs/**' - '.github/workflows/documentation.yml' + - '.github/workflows/vhs.yml' - 'mkdocs.yml' - 'CNAME' diff --git a/.github/workflows/vhs.yml b/.github/workflows/vhs.yml index 993d9daa2..94b1f90e7 100644 --- a/.github/workflows/vhs.yml +++ b/.github/workflows/vhs.yml @@ -3,7 +3,7 @@ on: workflow_dispatch: pull_request: paths: - - docs/tapes/*.tape + - docs/vhs/tapes/*.tape jobs: vhs: @@ -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" diff --git a/docs/tapes/kapitan-init.tape b/docs/tapes/kapitan-init.tape deleted file mode 100644 index 9a512f11b..000000000 --- a/docs/tapes/kapitan-init.tape +++ /dev/null @@ -1,5 +0,0 @@ -Type "kapitan init --directory $HOME/kapitan-templates" -Enter -Sleep 2.5s -Enter -Sleep 8s diff --git a/docs/vhs/tapes/kapitan-init.tape b/docs/vhs/tapes/kapitan-init.tape new file mode 100644 index 000000000..a1f211849 --- /dev/null +++ b/docs/vhs/tapes/kapitan-init.tape @@ -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 diff --git a/out.gif b/out.gif new file mode 100644 index 000000000..88eef5c79 Binary files /dev/null and b/out.gif differ