diff --git a/.github/workflows/containerlab-actions.yml b/.github/workflows/containerlab-actions.yml index 3d06af5..483b5a5 100644 --- a/.github/workflows/containerlab-actions.yml +++ b/.github/workflows/containerlab-actions.yml @@ -10,4 +10,8 @@ jobs: - run: pwd - run: echo "REPO_NAME=${{ github.event.repository.name }}" - run: whoami - - run: ansible-playbook ~/clab_files/ansible_files/01_run_clab.yml -i containerlab_test/ansible-inventory.yml \ No newline at end of file + - run: ansible-playbook ~/clab_files/ansible_files/01_run_clab.yml -i containerlab_test/ansible-inventory.yml + + - name: Destroy the Containerlab + if: always() + run: ansible-playbook ~/clab_files/ansible_files/02_destroy_clab.yml \ No newline at end of file