Skip to content

Commit

Permalink
Add Cleaning environment [skip actions]
Browse files Browse the repository at this point in the history
  • Loading branch information
elsegev committed Sep 5, 2023
1 parent f052567 commit 5984415
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/sonar_single_account_cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,21 @@ jobs:
key: ${{ env.JUMP_SERVER_KEY }}
port: 22
command_timeout: "2h"
envs: REMOTE_EXAMPLE_DIR
envs: TARGET_DIR
script: |
cd $TARGET_DIR
rm -rf dsfkit
rm -rf dsfkit.zip
- name: Delete Old Environment
uses: appleboy/[email protected]
with:
host: 54.179.25.83
username: ec2-user
key: ${{ env.JUMP_SERVER_KEY }}
port: 22
command_timeout: "2h"
envs: TARGET_DIR
script: |
terraform -chdir=$REMOTE_EXAMPLE_DIR destroy -auto-approve
rm -rf dsfkit
Expand Down

0 comments on commit 5984415

Please sign in to comment.