Skip to content

Commit

Permalink
added if always
Browse files Browse the repository at this point in the history
  • Loading branch information
devan555 committed May 22, 2024
1 parent d6d64fe commit ca2c854
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/containerlab-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
- 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

0 comments on commit ca2c854

Please sign in to comment.